diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-01-05 21:25:51 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-01-05 21:25:51 -0500 |
commit | d397712bcc6a759a560fd247e6053ecae091f958 (patch) | |
tree | 9da8daebb870d8b8b1843507c4621715e23dd31a /fs/btrfs/struct-funcs.c | |
parent | 1f3c79a28c8837e8572b98f6d14142d9a6133c56 (diff) |
Btrfs: Fix checkpatch.pl warnings
There were many, most are fixed now. struct-funcs.c generates some warnings
but these are bogus.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/struct-funcs.c')
-rw-r--r-- | fs/btrfs/struct-funcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/struct-funcs.c b/fs/btrfs/struct-funcs.c index 8d7f568009c..c0f7ecaf1e7 100644 --- a/fs/btrfs/struct-funcs.c +++ b/fs/btrfs/struct-funcs.c | |||
@@ -66,7 +66,7 @@ u##bits btrfs_##name(struct extent_buffer *eb, \ | |||
66 | unsigned long map_len; \ | 66 | unsigned long map_len; \ |
67 | u##bits res; \ | 67 | u##bits res; \ |
68 | err = map_extent_buffer(eb, offset, \ | 68 | err = map_extent_buffer(eb, offset, \ |
69 | sizeof(((type *)0)->member), \ | 69 | sizeof(((type *)0)->member), \ |
70 | &map_token, &kaddr, \ | 70 | &map_token, &kaddr, \ |
71 | &map_start, &map_len, KM_USER1); \ | 71 | &map_start, &map_len, KM_USER1); \ |
72 | if (err) { \ | 72 | if (err) { \ |
@@ -103,7 +103,7 @@ void btrfs_set_##name(struct extent_buffer *eb, \ | |||
103 | unsigned long map_start; \ | 103 | unsigned long map_start; \ |
104 | unsigned long map_len; \ | 104 | unsigned long map_len; \ |
105 | err = map_extent_buffer(eb, offset, \ | 105 | err = map_extent_buffer(eb, offset, \ |
106 | sizeof(((type *)0)->member), \ | 106 | sizeof(((type *)0)->member), \ |
107 | &map_token, &kaddr, \ | 107 | &map_token, &kaddr, \ |
108 | &map_start, &map_len, KM_USER1); \ | 108 | &map_start, &map_len, KM_USER1); \ |
109 | if (err) { \ | 109 | if (err) { \ |