aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2022-07-13 11:20:47 +0800
committerJiri Kosina <jkosina@suse.cz>2022-08-25 11:29:58 +0200
commit486da113c698a748bd8d75a0d10a2eee8ef8d416 (patch)
treefc23463886d36def71d300046b7206d5a4138267 /scripts/generate_rust_analyzer.py
parentMerge tag 'for-linus-2022080201' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff)
downloadwireguard-linux-486da113c698a748bd8d75a0d10a2eee8ef8d416.tar.xz
wireguard-linux-486da113c698a748bd8d75a0d10a2eee8ef8d416.zip
HID: rmi: replace ternary operator with min()
Fix the following coccicheck warning: drivers/hid/hid-rmi.c:240: WARNING opportunity for min(). drivers/hid/hid-rmi.c:350: 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: Jiangshan Yi <yijiangshan@kylinos.cn> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions