public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* why is there an empty scsi device ?
@ 2003-05-09  6:31 prash_t
  0 siblings, 0 replies; only message in thread
From: prash_t @ 2003-05-09  6:31 UTC (permalink / raw)
  To: linux-scsi

Hi,
   In linux-2.4 kernels, I notice an empty Scsi_Device structure being added 
at the end of Scsi_Host list while detecting the scsi devices [scan_scsis( ) 
in scsi_scan.c].  This empty structure would get filled later in 
scan_scsis_single( ), in which case, again an empty device is appended.   
Can anybody let me know to why the structure is to be added in the linked 
list before filling up the fields rather than filling it first and adding to 
the host list later ? 

Thanks 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-09  6:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-09  6:31 why is there an empty scsi device ? prash_t

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox