Messages in this thread Patch in this message | | | From | H Hartley Sweeten <> | Date | Thu, 1 Apr 2010 20:36:30 -0500 | Subject | [PATCH] fs-writeback.c: bitfields should be unsigned |
| |
This fixes sparse noise: error: dubious one-bit signed bitfield
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk>
---
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 76fc4d5..a25f491 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -41,9 +41,9 @@ struct wb_writeback_args { long nr_pages; struct super_block *sb; enum writeback_sync_modes sync_mode; - int for_kupdate:1; - int range_cyclic:1; - int for_background:1; + unsigned int for_kupdate:1; + unsigned int range_cyclic:1; + unsigned int for_background:1; }; /* | |