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)  {  	switch (0) {  #include GENL_MAGIC_INCLUDE_FILE +	case 0:  		;  	}  } @@ -209,6 +210,7 @@ static inline void ct_assert_unique_top_level_attributes(void)  {  	switch (0) {  #include GENL_MAGIC_INCLUDE_FILE +	case 0:  		;  	}  } @@ -218,7 +220,8 @@ static inline void ct_assert_unique_top_level_attributes(void)  static inline void ct_assert_unique_ ## s_name ## _attributes(void)	\  {									\  	switch (0) {							\ -		s_fields						\ +	s_fields							\ +	case 0:								\  			;						\  	}								\  }  |