]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: Select CRC16 in the Kconfig.
authorJonathan Lemon <jonathan.lemon@gmail.com>
Tue, 26 Jul 2022 22:06:04 +0000 (15:06 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Jul 2022 01:11:34 +0000 (18:11 -0700)
commit8c5a13d3d45210d7aabf67ad2cbcf3164e76cf5d
tree9101d33095b04612ddd4a4d3daadd5c2b87c0714
parent9cbc551962feec92388d46f0e93bc810e591aaf4
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: 3ecd51dafe56 ("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>
drivers/ptp/Kconfig