lkml.org 
[lkml]   [2007]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RESEND patch 2.6.22-rc2-git] AIO sparse fix (type of ki_flags)
Date
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 */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-07-17 17:15    [W:0.157 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site