staging: lustre: Fix "unsigned"->"unsigned int"
Subsystems (2)
PATCH 3/5 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 <[email protected]>
--- .../staging/lustre/include/uapi/linux/lustre/lustre_fiemap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/include/uapi/linux/lustre/lustre_fiemap.h +1 -1
@@ -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 );
Signature · 1 line
2.17.0