mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 08:47:44 -04:00
staging: lustre: Fix "unsigned"->"unsigned int"
This patch fixes the checkpatch.pl warning: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Sabin Mihai Rapan <sabin.rapan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b743387eb4
commit
0fb1de16f3
@@ -51,7 +51,7 @@ static inline size_t fiemap_count_to_size(size_t extent_count)
|
||||
sizeof(struct fiemap_extent);
|
||||
}
|
||||
|
||||
static inline unsigned fiemap_size_to_count(size_t array_size)
|
||||
static inline unsigned int fiemap_size_to_count(size_t array_size)
|
||||
{
|
||||
return (array_size - sizeof(struct fiemap)) /
|
||||
sizeof(struct fiemap_extent);
|
||||
|
||||
Reference in New Issue
Block a user