linux-sg2042/drivers/net/can/usb
Arnd Bergmann a2ae6da025 peak_usb: fix clang build warning
Clang points out undefined behavior when building the pcan_usb_pro driver:

drivers/net/can/usb/peak_usb/pcan_usb_pro.c:136:15: error: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Werror,-Wvarargs]

Changing the function prototype to avoid argument promotion in the
varargs call avoids the warning, and should make this well-defined.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-07 09:39:46 -08:00
..
kvaser_usb can: kvaser_usb: Fix accessing freed memory in kvaser_usb_start_xmit() 2018-11-09 17:20:03 +01:00
peak_usb peak_usb: fix clang build warning 2019-03-07 09:39:46 -08:00
Kconfig can: kvaser_usb: Add support for Kvaser USB hydra family 2018-07-27 10:40:19 +02:00
Makefile can: kvaser_usb: Split driver into kvaser_usb_core.c and kvaser_usb_leaf.c 2018-07-27 10:40:19 +02:00
ems_usb.c can: ems_usb: Fix memory leak on ems_usb_disconnect() 2018-07-30 11:04:27 +02:00
esd_usb2.c drivers/net: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
gs_usb.c linux-can-next-for-4.16-20180105 2018-01-15 16:13:34 -05:00
mcba_usb.c can: mcba_usb: cancel urb on -EPROTO 2017-12-08 10:45:11 +01:00
ucan.c can: ucan: fix spelling mistake: "resumbmitting" -> "resubmitting" 2018-11-28 16:19:52 +01:00
usb_8dev.c can: usb_8dev: cancel urb on -EPIPE and -EPROTO 2017-12-08 10:45:11 +01:00