Skip to content

Commit 2ba2d00

Browse files
David BrownellLinus Torvalds
authored andcommitted
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: 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>
1 parent 64ee480 commit 2ba2d00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/aio.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ struct kioctx;
8686
*/
8787
struct kiocb {
8888
struct list_head ki_run_list;
89-
long ki_flags;
89+
unsigned long ki_flags;
9090
int ki_users;
9191
unsigned ki_key; /* id of this request */
9292

0 commit comments

Comments
 (0)