diff options
author | 2022-07-14 10:56:56 +0800 | |
---|---|---|
committer | 2022-10-18 08:50:26 -0500 | |
commit | 73c6da327ff17a07a9260b0ff1f36e13665ac63d (patch) | |
tree | f76934495c30b99ca2a94685e1ad884228ce4593 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs: jfs: fix shift-out-of-bounds in dbAllocAG (diff) | |
download | wireguard-linux-73c6da327ff17a07a9260b0ff1f36e13665ac63d.tar.xz wireguard-linux-73c6da327ff17a07a9260b0ff1f36e13665ac63d.zip |
fs/jfs: replace ternary operator with min_t()
Fix the following coccicheck warning:
fs/jfs/super.c:748: WARNING opportunity for min().
fs/jfs/super.c:788: WARNING opportunity for min().
min_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>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions