drivers/net/can/usb/peak_usb/pcan_usb_pro.c:136:15: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs]
va_start(ap, id);
^
drivers/net/can/usb/peak_usb/pcan_usb_pro.c:130:61: note: parameter of type 'u8' (aka 'unsigned char') is declared here
static int pcan_msg_add_rec(struct pcan_usb_pro_msg *pm, u8 id, ...)
^
1 warning generated.
Note: similar to #41 (probably need to declare id as an int): https://www.eskimo.com/~scs/cclass/int/sx11c.html
Arnd sent a fix: https://lore.kernel.org/lkml/[email protected]/
Most helpful comment
Upstream: https://git.kernel.org/linus/a2ae6da025ed73e4312d983b5e57300bc77090f3