aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pmcraid.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-02 16:47:22 +0000
committerMartin K. Petersen <[email protected]>2024-03-10 22:15:48 +0000
commitf1fb41765d0bff77514ffeaef37bbb45608f6c62 (patch)
tree354a7191515d2ea814a33ccd656928b81aaa3c58 /drivers/scsi/pmcraid.c
parentscsi: ufs: core: Add config_scsi_dev vops comment (diff)
downloadkernel-f1fb41765d0bff77514ffeaef37bbb45608f6c62.tar.gz
kernel-f1fb41765d0bff77514ffeaef37bbb45608f6c62.zip
scsi: sg: Make sg_sysfs_class constant
Since commit 43a7206b0963 ("driver core: class: make class_register() take a const *"), the driver core allows for struct class to be in read-only memory, so move the sg_sysfs_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Cc: Greg Kroah-Hartman <[email protected]> Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ricardo B. Marliere <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions