Commit 0fb1de16 authored by Sabin Mihai Rapan's avatar Sabin Mihai Rapan Committed by Greg Kroah-Hartman

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: default avatarSabin Mihai Rapan <sabin.rapan@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b743387e
...@@ -51,7 +51,7 @@ static inline size_t fiemap_count_to_size(size_t extent_count) ...@@ -51,7 +51,7 @@ static inline size_t fiemap_count_to_size(size_t extent_count)
sizeof(struct fiemap_extent); 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)) / return (array_size - sizeof(struct fiemap)) /
sizeof(struct fiemap_extent); sizeof(struct fiemap_extent);
......
Markdown is supported
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