diff options
Diffstat (limited to 'include/linux/genl_magic_struct.h')
-rw-r--r-- | include/linux/genl_magic_struct.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/genl_magic_struct.h b/include/linux/genl_magic_struct.h index 5972e4969197..eeae59d3ceb7 100644 --- a/include/linux/genl_magic_struct.h +++ b/include/linux/genl_magic_struct.h | |||
@@ -191,6 +191,7 @@ static inline void ct_assert_unique_operations(void) | |||
191 | { | 191 | { |
192 | switch (0) { | 192 | switch (0) { |
193 | #include GENL_MAGIC_INCLUDE_FILE | 193 | #include GENL_MAGIC_INCLUDE_FILE |
194 | case 0: | ||
194 | ; | 195 | ; |
195 | } | 196 | } |
196 | } | 197 | } |
@@ -209,6 +210,7 @@ static inline void ct_assert_unique_top_level_attributes(void) | |||
209 | { | 210 | { |
210 | switch (0) { | 211 | switch (0) { |
211 | #include GENL_MAGIC_INCLUDE_FILE | 212 | #include GENL_MAGIC_INCLUDE_FILE |
213 | case 0: | ||
212 | ; | 214 | ; |
213 | } | 215 | } |
214 | } | 216 | } |
@@ -218,7 +220,8 @@ static inline void ct_assert_unique_top_level_attributes(void) | |||
218 | static inline void ct_assert_unique_ ## s_name ## _attributes(void) \ | 220 | static inline void ct_assert_unique_ ## s_name ## _attributes(void) \ |
219 | { \ | 221 | { \ |
220 | switch (0) { \ | 222 | switch (0) { \ |
221 | s_fields \ | 223 | s_fields \ |
224 | case 0: \ | ||
222 | ; \ | 225 | ; \ |
223 | } \ | 226 | } \ |
224 | } | 227 | } |