Skip to content

Commit 0c10455

Browse files
jlemonkuba-moo
authored andcommitted
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: 3c3673b ("ptp: ocp: Add firmware header checks") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com> Acked-by: Vadim Fedorenko <vadfed@fb.com> Link: https://lore.kernel.org/r/20220726220604.1339972-1-jonathan.lemon@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent e62d2e1 commit 0c10455

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ptp/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ config PTP_1588_CLOCK_OCP
176176
depends on !S390
177177
depends on COMMON_CLK
178178
select NET_DEVLINK
179+
select CRC16
179180
help
180181
This driver adds support for an OpenCompute time card.
181182

0 commit comments

Comments
 (0)