Skip to contentSkip to conversation

staging: lustre: Fix "unsigned"->"unsigned int"

PATCH In review Sabin Mihai Rapan 1 participant 1 message May 16, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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'

---
 .../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
index f5214dc33c60..d375a476f5ea 100644
@@ -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