diff options
author | Ricardo Ribalda <ribalda@chromium.org> | 2024-04-15 21:15:18 +0000 |
---|---|---|
committer | Julia Lawall <Julia.Lawall@inria.fr> | 2024-05-20 21:31:20 +0200 |
commit | e4655196e21fdfb3a3c60e930d48b97a9f3ec693 (patch) | |
tree | cf62fa533a37834dc80204e428af66450a8c35f1 /include/linux/bpfptr.h | |
parent | 96fca68c4fbf77a8185eb10f7557e23352732ea2 (diff) |
coccinelle: misc: minmax: Suppress reports for err returns
Most of the people prefer:
return ret < 0 ? ret: 0;
than:
return min(ret, 0);
Let's tweak the cocci file to ignore those lines completely.
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Diffstat (limited to 'include/linux/bpfptr.h')
0 files changed, 0 insertions, 0 deletions