projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a22968
)
fs-writeback.c: bitfields should be unsigned
author
H Hartley Sweeten
<hartleys@visionengravers.com>
Fri, 2 Apr 2010 01:36:30 +0000
(20:36 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 21 May 2010 22:31:22 +0000
(18:31 -0400)
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>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fs-writeback.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/fs-writeback.c
b/fs/fs-writeback.c
index 4b37f7cea4dd28edac895ebbe9017d80e7031c16..24e85ce118910a911b4e06fcd0949754b8cd735d 100644
(file)
--- a/
fs/fs-writeback.c
+++ b/
fs/fs-writeback.c
@@
-42,9
+42,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;
};
/*