Skip to content
Commit 3e46c89c authored by Maxim Korotkov's avatar Maxim Korotkov Committed by Jens Axboe
Browse files

writeback: fix call of incorrect macro

 the variable 'history' is of type u16, it may be an error
 that the hweight32 macro was used for it
 I guess macro hweight16 should be used

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 2a814908

 ("writeback: implement foreign cgroup inode detection")
Signed-off-by: default avatarMaxim Korotkov <korotkov.maxim.s@gmail.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230119104443.3002-1-korotkov.maxim.s@gmail.com
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f40c153a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment