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]

 



On Sun, Nov 13, 2005 at 05:49:39PM +0100, Stefan Richter wrote:
> >->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.

Well, the original plan was that a host implements either ->name or
->info.  The first in case the information is static and the latter in
case it's dynamic.  I think it's a bit complex and would prefer to have
just one of them long term or rather just a routine that prints a trivial
name, similar to the current ->proc_info.
-
: 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