From: Douglas Gilbert <dougg@torque.net>
To: Adrian Bunk <bunk@stusta.de>
Cc: James.Bottomley@SteelEye.com, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] SCSI: possible cleanups
Date: Tue, 01 Mar 2005 18:14:22 +1000 [thread overview]
Message-ID: <4224245E.6090503@torque.net> (raw)
In-Reply-To: <20050228213159.GO4021@stusta.de>
Adrian Bunk wrote:
> Before I'm getting flamed to death:
Adrian,
I have a few comments below.
> This patch contains possible cleanups. If parts of this patch conflict
> with pending changes these parts of my patch have to be dropped.
>
> This patch contains the following possible cleanups:
> - make needlessly global code static
> - remove or #if 0 the following unused functions:
> - scsi.h: print_driverbyte
> - scsi.h: print_hostbyte
The names of the above are too general so they should go
as soon as practical.
> - constants.c: scsi_print_hostbyte
> - constants.c: scsi_print_driverbyte
I'm a bit surprised nothing else is using the above two.
> - scsi_scan.c: scsi_scan_single_target
> - remove the following unneeded EXPORT_SYMBOL's:
> - constants.c: __scsi_print_sense
> - hosts.c: scsi_host_lookup
> - scsi.c: scsi_device_cancel
> - scsi_error.c: scsi_normalize_sense
I introduced scsi_normalize_sense() recently, Christoph H.
proposed it should be static but Luben Tuikov (aic7xxx
maintainer) said he wished to use it in the future.
Hence it was left global.
> - scsi_error.c: scsi_sense_desc_find
A pending patch on st from Kai M. will be using
scsi_sense_desc_find(). I presume others will be using
it in the future (e.g. SAT returns ATA status via
a sense data descriptor with no corresponding fixed
format representation).
> - scsi_lib.c: scsi_device_resume
> - scsi_scan.c: scsi_rescan_device
> - scsi_scan.c: scsi_scan_single_target
Doug Gilbert
next prev parent reply other threads:[~2005-03-01 8:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-28 21:31 [2.6 patch] SCSI: possible cleanups Adrian Bunk
2005-02-28 22:25 ` Christoph Hellwig
2005-02-28 23:01 ` Adrian Bunk
2005-02-28 23:34 ` Christoph Hellwig
2005-03-01 0:31 ` [2.6 patch] SCSI: cleanups Adrian Bunk
2005-03-01 8:14 ` Douglas Gilbert [this message]
2005-03-01 14:40 ` [2.6 patch] SCSI: possible cleanups Luben Tuikov
2005-03-01 22:17 ` Christoph Hellwig
2005-03-01 22:32 ` Luben Tuikov
-- strict thread matches above, loose matches on Subject: below --
2005-03-01 12:36 Salyzyn, Mark
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=4224245E.6090503@torque.net \
--to=dougg@torque.net \
--cc=James.Bottomley@SteelEye.com \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--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