1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/can/usb
Linus Torvalds cb04e8b1d2 minmax: don't use max() in situations that want a C constant expression
We only had a couple of array[] declarations, and changing them to just
use 'MAX()' instead of 'max()' fixes the issue.

This will allow us to simplify our min/max macros enormously, since they
can now unconditionally use temporary variables to avoid using the
argument values multiple times.

Cc: David Laight <David.Laight@aculab.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2024-07-28 20:23:27 -07:00
..
etas_es58x minmax: don't use max() in situations that want a C constant expression 2024-07-28 20:23:27 -07:00
kvaser_usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-07-04 14:16:11 -07:00
peak_usb net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
ems_usb.c can: dev: fix skb drop check 2022-11-07 14:00:27 +01:00
esd_usb.c can: esd_usb: Add support for esd CAN-USB/3 2023-08-03 09:24:30 +02:00
f81604.c can: usb: f81604: add Fintek F81604 support 2023-05-15 22:53:49 +02:00
gs_usb.c net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
Kconfig can: kvaser_usb: Add support for Kvaser Mini PCIe 1xCAN 2024-06-21 09:44:54 +02:00
Makefile can: usb: f81604: add Fintek F81604 support 2023-05-15 22:53:49 +02:00
mcba_usb.c can: mcba_usb: Fix termination command argument 2022-11-24 16:26:48 +01:00
ucan.c can: ucan: Remove repeated word 2023-07-19 09:04:36 +02:00
usb_8dev.c can: dev: fix skb drop check 2022-11-07 14:00:27 +01:00