From: Jonathan Lemon Date: Tue, 26 Jul 2022 22:06:04 +0000 (-0700) Subject: ptp: ocp: Select CRC16 in the Kconfig. X-Git-Tag: baikal/mips/sdk6.1~5253^2~7 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=72c9b88b064c2e215014b8de39e29ef3e6083058;p=kernel.git ptp: ocp: Select CRC16 in the Kconfig. The crc16() function is used to check the firmware validity, but the library was not explicitly selected. Fixes: 7c5da5757ea4 ("ptp: ocp: Add firmware header checks") Reported-by: kernel test robot Signed-off-by: Jonathan Lemon Acked-by: Vadim Fedorenko Link: https://lore.kernel.org/r/20220726220604.1339972-1-jonathan.lemon@gmail.com Signed-off-by: Jakub Kicinski --- diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index 458218f88c5eb..fe4971b65c648 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig @@ -176,6 +176,7 @@ config PTP_1588_CLOCK_OCP depends on !S390 depends on COMMON_CLK select NET_DEVLINK + select CRC16 help This driver adds support for an OpenCompute time card.