* [RESEND patch 2.6.22-rc2-git] AIO sparse fix (type of ki_flags)
@ 2007-07-17 14:03 David Brownell
0 siblings, 0 replies; only message in thread
From: David Brownell @ 2007-07-17 14:03 UTC (permalink / raw)
To: bcrl; +Cc: Linux Kernel list
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>
---
include/linux/aio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- h4.orig/include/linux/aio.h 2007-05-19 11:40:45.000000000 -0700
+++ h4/include/linux/aio.h 2007-05-25 19:23:34.000000000 -0700
@@ -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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-17 15:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-17 14:03 [RESEND patch 2.6.22-rc2-git] AIO sparse fix (type of ki_flags) David Brownell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.