summaryrefslogtreecommitdiffstats
path: root/lib/maple_tree.c
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2022-07-14 04:56:56 +0200
committerDave Kleikamp <dave.kleikamp@oracle.com>2022-10-18 15:50:26 +0200
commit73c6da327ff17a07a9260b0ff1f36e13665ac63d (patch)
treef76934495c30b99ca2a94685e1ad884228ce4593 /lib/maple_tree.c
parentfs: jfs: fix shift-out-of-bounds in dbAllocAG (diff)
downloadlinux-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