On Fri, 9 Apr 2021 21:04:22 +0300 "Yordan Karadzhov (VMware)" <y.karadz@xxxxxxxxx> wrote: > +__hidden inline struct tracefs_options_mask * > +supported_opts_mask(struct tracefs_instance *instance) > +{ > + return instance? &instance->supported_opts : &toplevel_supported_opts; > +} > + > +__hidden inline struct tracefs_options_mask * > +enabled_opts_mask(struct tracefs_instance *instance) > +{ > + return instance? &instance->enabled_opts : &toplevel_enabled_opts; > +} I'll fix this up, but for the future, there should be a space between the condition and the "?". return instance ? &instance->supported_opts : &toplevel_supported_opts; -- Steve
![]() |