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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);