On Sun, Jun 07, 2020 at 03:35:58PM -0500, Mike Christie wrote: > +#define target_attr_str(field) \ > + target_attr_show(field) \ > +static DEVICE_ATTR(field, S_IRUGO, show_target_##field, NULL) DEVICE_ATTR_RO() > +#define tpt_id_attr(name, fmt_str) \ > + tpt_id_attr_show(name, fmt_str) \ > +static DEVICE_ATTR(name, S_IRUGO, show_tpid_##name, NULL) DEVICE_ATTR_RO()