Commit 2ba2d003 authored by David Brownell's avatar David Brownell Committed by Linus Torvalds

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.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarBenjamin LaHaise <bcrl@kvack.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 64ee4808
...@@ -86,7 +86,7 @@ struct kioctx; ...@@ -86,7 +86,7 @@ struct kioctx;
*/ */
struct kiocb { struct kiocb {
struct list_head ki_run_list; struct list_head ki_run_list;
long ki_flags; unsigned long ki_flags;
int ki_users; int ki_users;
unsigned ki_key; /* id of this request */ unsigned ki_key; /* id of this request */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment