summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2007-07-19 12:47:55 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 21:04:43 +0400
commit2ba2d00363975242dee9bb22cf798b487e3cd61e (patch)
tree26bc53fb314ec9d585f07a5866c275ff1bfbc1aa
parent64ee4808a786caade50362d5057f65314fdf2f36 (diff)
downloadlinux-2ba2d00363975242dee9bb22cf798b487e3cd61e.tar.xz
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>
-rw-r--r--include/linux/aio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/aio.h b/include/linux/aio.h
index b903fc02bdb7..d10e608f232d 100644
--- a/include/linux/aio.h
+++ b/include/linux/aio.h
@@ -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 */