diff options
author | Jiangshan Yi <yijiangshan@kylinos.cn> | 2022-07-14 04:56:56 +0200 |
---|---|---|
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2022-10-18 15:50:26 +0200 |
commit | 73c6da327ff17a07a9260b0ff1f36e13665ac63d (patch) | |
tree | f76934495c30b99ca2a94685e1ad884228ce4593 /lib/maple_tree.c | |
parent | fs: jfs: fix shift-out-of-bounds in dbAllocAG (diff) | |
download | linux-73c6da327ff17a07a9260b0ff1f36e13665ac63d.tar.xz 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 '')
0 files changed, 0 insertions, 0 deletions