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:
parent
b743387eb4
commit
0fb1de16f3
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user