Re: [PATCH 2/4] scsi: remove usage of proc_name from scsi_host_alloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Hellwig wrote:
On Sun, Nov 13, 2005 at 05:17:03PM +0100, Stefan Richter wrote:

scsi_host_alloc: use host template's .name instead of .proc_name in order to
restrict usage of .proc_name to procfs and sysfs


->name is not mandatory.  You may just implement ->info

No, ->info is optional according to a current comment, and according to the implementation as far as I have seen.

Also, ->name is used in a number of places if some other host template members are not provided, i.e. it is practically mandatory.
--
Stefan Richter
-=====-=-=-= =-== -==-=
http://arcgraph.de/sr/
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux