aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorGuo Zhengkui <[email protected]>2022-05-13 21:03:33 +0800
committerMark Brown <[email protected]>2022-05-16 17:57:01 +0100
commitb1849f505f87f11815d55e03b67e97aa87ea9b5d (patch)
tree7bf08d08d772f2622cdb3cb84704ea0a9e3fa153 /scripts/gdb
parent22d35e40419a2ac0914fb6b05c8781c9af8d4126 (diff)
spi: spi-au1550: replace ternary operator with min()
Fix the following coccicheck warnings: drivers/spi/spi-au1550.c:408:21-22: WARNING opportunity for min() drivers/spi/spi-au1550.c:542:21-22: WARNING opportunity for min() min() macro is defined in include/linux/minmax.h. It avoids multiple evaluations of the arguments when non-constant and performs strict type-checking. Signed-off-by: Guo Zhengkui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions