From: prash_t@softhome.net
To: linux-scsi@vger.kernel.org
Subject: why is there an empty scsi device ?
Date: Fri, 09 May 2003 00:31:29 -0600 [thread overview]
Message-ID: <courier.3EBB4B41.00006BEF@softhome.net> (raw)
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
reply other threads:[~2003-05-09 6:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=courier.3EBB4B41.00006BEF@softhome.net \
--to=prash_t@softhome.net \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox