Re: [PATCH 04/24] scsi-multipath: introduce scsi_mpath_device_class
From: John Garry
Date: Mon Mar 02 2026 - 07:02:42 EST
On 02/03/2026 02:54, Benjamin Marzinski wrote:
static bool scsi_multipath_sysfs_attr_visible(struct kobject *kobj,The return for this is actually a umode_t.
+ struct attribute *attr, int n)
+{Nitpick again: This could just use DEFINE_SIMPLE_SYSFS_GROUP_VISIBLE()
+ return false;
+}
+DEFINE_SYSFS_GROUP_VISIBLE(scsi_multipath_sysfs)
Also, this code would make more sense in the next patch.
ok, can change, thanks!