Skip to contentSkip to conversation

AIO sparse fix (type of ki_flags)

PATCH RESEND New David Brownell 1 participant 1 message Jul 17, 2007 Aio

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 AIO sparse fix (type of ki_flags)

Fix type issue reported by latest 'sparse': kiocb.ki_flags should be "unsigned long" (not "long"), to match bitop type signature.

---
 include/linux/aio.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/aio.h +1 -1
@@ -86,7 +86,7 @@ struct kioctx;
  */
 struct kiocb {
 	struct list_head	ki_run_list;
-	long			ki_flags;
+	unsigned long		ki_flags;
 	int			ki_users;
 	unsigned		ki_key;		/* id of this request */