From: Christoph Hellwig <hch@infradead.org>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 2/4] scsi: remove usage of proc_name from scsi_host_alloc
Date: Sun, 13 Nov 2005 17:07:12 +0000 [thread overview]
Message-ID: <20051113170712.GA9740@infradead.org> (raw)
In-Reply-To: <43776EA3.3010607@s5r6.in-berlin.de>
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.
prev parent reply other threads:[~2005-11-13 17:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-13 16:17 [PATCH 2/4] scsi: remove usage of proc_name from scsi_host_alloc Stefan Richter
2005-11-13 16:42 ` Christoph Hellwig
2005-11-13 16:49 ` Stefan Richter
2005-11-13 16:52 ` Stefan Richter
2005-11-13 17:07 ` Christoph Hellwig [this message]
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=20051113170712.GA9740@infradead.org \
--to=hch@infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=stefanr@s5r6.in-berlin.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.