From: David Brownell Date: Thu, 19 Jul 2007 08:47:55 +0000 (-0700) Subject: AIO sparse fix (type of ki_flags) X-Git-Tag: v2.6.23-rc1~439 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2ba2d00363975242dee9bb22cf798b487e3cd61e;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/aio.h b/include/linux/aio.h index b903fc02bdb..d10e608f232 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 */