public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-box <bo.yang@lsi.com>,
	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 11:38:50 +0100	[thread overview]
Message-ID: <20070914103850.GA15225@infradead.org> (raw)
In-Reply-To: <20070914033216.858d12e0.akpm@linux-foundation.org>

On Fri, Sep 14, 2007 at 03:32:16AM -0700, Andrew Morton wrote:
> y'know, if some brave soul were to write

y'know - some brave sould already did it.

> static inline void *scsi_host_data(struct Scsi_Host *host)
> {
> 	return (void *)host->hostdata;
> }
> 
> we could remove about 100000000000 ugly casts from scsi.

it's called shost_priv, but I couldn't get a whole lot of driver
authors to switch over yet.

  reply	other threads:[~2007-09-14 10:38 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
2007-09-14 10:38   ` Christoph Hellwig [this message]
  -- 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=20070914103850.GA15225@infradead.org \
    --to=hch@infradead.org \
    --cc=James.Bottomley@SteelEye.com \
    --cc=akpm@linux-foundation.org \
    --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