From: Andrew Morton <akpm@linux-foundation.org>
To: linux-box <bo.yang@lsi.com>
Cc: linux-scsi@vger.kernel.org, James.Bottomley@SteelEye.com,
linux-kernel@vger.kernel.org, sumant.patro@lsi.com
Subject: Re: [PATCH 3/4] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun
Date: Fri, 14 Sep 2007 03:32:16 -0700 [thread overview]
Message-ID: <20070914033216.858d12e0.akpm@linux-foundation.org> (raw)
In-Reply-To: <1189514073.6082.14.camel@dhcp-75-534.se.lsil.com>
On Tue, 11 Sep 2007 08:34:33 -0400 linux-box <bo.yang@lsi.com> wrote:
> + struct megasas_instance *instance =
> + (struct megasas_instance *)host->hostdata;
y'know, if some brave soul were to write
static inline void *scsi_host_data(struct Scsi_Host *host)
{
return (void *)host->hostdata;
}
we could remove about 100000000000 ugly casts from scsi.
Just a thought...
next prev parent reply other threads:[~2007-09-14 10:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-11 12:34 [PATCH 3/4] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun linux-box
2007-09-14 10:32 ` Andrew Morton [this message]
2007-09-14 10:38 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2007-07-01 16:48 bo yang
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=20070914033216.858d12e0.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=James.Bottomley@SteelEye.com \
--cc=bo.yang@lsi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=sumant.patro@lsi.com \
/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