Message ID | 20220727011213.24274-1-rdunlap@infradead.org (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | ptp: ocp: select CRC16 to fix build error | expand |
On Tue, 26 Jul 2022 18:12:13 -0700 Randy Dunlap wrote: > ptp_ocp.c uses crc16(), so it should select CRC16 to > prevent a build error: > > ERROR: modpost: "crc16" [drivers/ptp/ptp_ocp.ko] undefined! > > Fixes: 3c3673bde50c ("ptp: ocp: Add firmware header checks") > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Vadim Fedorenko <vadfed@fb.com> > Cc: Jonathan Lemon <jonathan.lemon@gmail.com> Jonathan just posted this fix a few hours ago: https://lore.kernel.org/all/20220726220604.1339972-1-jonathan.lemon@gmail.com/
--- 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.
ptp_ocp.c uses crc16(), so it should select CRC16 to prevent a build error: ERROR: modpost: "crc16" [drivers/ptp/ptp_ocp.ko] undefined! Fixes: 3c3673bde50c ("ptp: ocp: Add firmware header checks") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Vadim Fedorenko <vadfed@fb.com> Cc: Jonathan Lemon <jonathan.lemon@gmail.com> Cc: Richard Cochran <richardcochran@gmail.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Paolo Abeni <pabeni@redhat.com> --- drivers/ptp/Kconfig | 1 + 1 file changed, 1 insertion(+)