aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2022-07-13 15:02:05 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-14 16:09:56 +0200
commitefa2bebf2a9fde638644d6fb0fb776345ac6fcc1 (patch)
tree9410557dcb47febe7f2f62a0905f6d0ba3cc5735 /tools/perf/scripts/python
parentusb: dwc3: ep0: Properly handle setup_packet_pending scenario in data stage (diff)
downloadlinux-efa2bebf2a9fde638644d6fb0fb776345ac6fcc1.tar.gz
linux-efa2bebf2a9fde638644d6fb0fb776345ac6fcc1.zip
usb: ldusb: replace ternary operator with max_t()
Fix the following coccicheck warning: drivers/usb/misc/ldusb.c:719: WARNING opportunity for max(). drivers/usb/misc/ldusb.c:721: WARNING opportunity for max(). max_t() 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: Jiangshan Yi <yijiangshan@kylinos.cn> Link: https://lore.kernel.org/r/20220713070205.3047256-1-13667453960@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions