File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -531,9 +531,9 @@ struct check_result *check_no_explicit_declaration(const struct check_data *data
531
531
flavor = DECL_ATTRIBUTE ;
532
532
} else if (name_is_roleattr (ndata ) && (mod_name = look_up_in_decl_map (ndata -> name , DECL_ATTRIBUTE_ROLE ))) {
533
533
flavor = DECL_ATTRIBUTE_ROLE ;
534
- } else if (name_is_class (ndata ) && look_up_in_decl_map (name -> data -> name , DECL_CLASS )) {
534
+ } else if (name_is_class (ndata ) && look_up_in_decl_map (ndata -> name , DECL_CLASS )) {
535
535
// Ignore kernel classes
536
- if (!userspace_class_support || !is_userspace_class (name -> data -> name , name -> data -> traits )) {
536
+ if (!userspace_class_support || !is_userspace_class (ndata -> name , ndata -> traits )) {
537
537
continue ;
538
538
}
539
539
flavor = DECL_CLASS ;
You can’t perform that action at this time.
0 commit comments