Skip to content

Commit

Permalink
AIO sparse fix (type of ki_flags)
Browse files Browse the repository at this point in the history
Fix type issue reported by latest 'sparse': kiocb.ki_flags should be
"unsigned long" (not "long"), to match bitop type signature.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
David Brownell authored and Linus Torvalds committed Jul 19, 2007
1 parent 64ee480 commit 2ba2d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/aio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 2ba2d00

Please sign in to comment.