Commit 0c104556 authored by Jonathan Lemon's avatar Jonathan Lemon Committed by Jakub Kicinski

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: 3c3673bd ("ptp: ocp: Add firmware header checks")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarJonathan Lemon <jonathan.lemon@gmail.com>
Acked-by: default avatarVadim Fedorenko <vadfed@fb.com>
Link: https://lore.kernel.org/r/20220726220604.1339972-1-jonathan.lemon@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e62d2e11
...@@ -176,6 +176,7 @@ config PTP_1588_CLOCK_OCP ...@@ -176,6 +176,7 @@ config PTP_1588_CLOCK_OCP
depends on !S390 depends on !S390
depends on COMMON_CLK depends on COMMON_CLK
select NET_DEVLINK select NET_DEVLINK
select CRC16
help help
This driver adds support for an OpenCompute time card. This driver adds support for an OpenCompute time card.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment