Revision e79c0e324b011b0288cd411a5b53870a7730f163 authored by Guojia Liao on 30 August 2021, 13:51:07 UTC, committed by David S. Miller on 31 August 2021, 11:36:42 UTC
abs() returns signed long, which could not convert the type
as unsigned, and it may cause a mismatch type warning from
static tools. To fix it, this patch uses an variable to save
the abs()'s result and does a explicit conversion.

Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent dc9b5ce
History
File Mode Size
Kconfig -rw-r--r-- 944 bytes
Makefile -rw-r--r-- 140 bytes
bfs.h -rw-r--r-- 2.0 KB
dir.c -rw-r--r-- 8.6 KB
file.c -rw-r--r-- 4.9 KB
inode.c -rw-r--r-- 11.8 KB

back to top