Skip to contentSkip to conversation

set proc_name in aic94xx

PATCH New Darrick J. Wong 1 participant 1 message Aug 5, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 set proc_name in aic94xx

Hi,

Here's a patch to set proc_name in the aic94xx driver so that /sys/class/scsi_host/*/proc_name displays something more useful than "(NULL)".

--D

drivers/scsi/aic94xx/aic94xx_init.c +1 -0
index 3ec2e46..3cd8553 100644
@@ -63,6 +63,7 @@ static struct scsi_host_template aic94xx
        .module                 = THIS_MODULE,
        /* .name is initialized */
        .name                   = "aic94xx",
+       .proc_name              = "aic94xx",
        .queuecommand           = sas_queuecommand,
        .target_alloc           = sas_target_alloc,
        .slave_configure        = sas_slave_configure,