public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Cc: Adrian Bunk <bunk@stusta.de>,
	linux-kernel@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz
Subject: Re: [2.6 patch] cpqphp_ctrl.c: remove dead code
Date: Thu, 9 Aug 2007 15:24:27 -0700	[thread overview]
Message-ID: <20070809222427.GA32127@suse.de> (raw)
In-Reply-To: <20070809145140.654303a0.kristen.c.accardi@intel.com>

On Thu, Aug 09, 2007 at 02:51:40PM -0700, Kristen Carlson Accardi wrote:
> On Mon, 23 Jul 2007 16:51:05 +0200
> Adrian Bunk <bunk@stusta.de> wrote:
> 
> > If !mem_node we did already return -ENOMEM above in the function.
> > 
> > Spotted by the Coverity checker.
> > 
> > Signed-off-by: Adrian Bunk <bunk@stusta.de>
> 
> Greg - you are listed as the maintainer for this driver.

Not anymore, look at 2.6.23-rc1 :)

> Can you either
> point me to someone who can review this patch or review it yourself?  
> Looking at the code, it looks like it's possible that the driver writer
> wanted this code patch to be able to be taken if it got IO resources
> and not MEM resources, and if they didn't there's other cleanups that
> should be done for the no iomem case.

Hm, I agree that this looks like the way the code was intended to work,
but as this code has been working just fine so far the way it is, I'm
not inclined to change it much, if any.

Especially as I no longer even have the hardware to test it on :(

So, how about we just leave it alone?

thanks,

greg k-h

  reply	other threads:[~2007-08-09 22:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-23 14:51 [2.6 patch] cpqphp_ctrl.c: remove dead code Adrian Bunk
2007-08-09 21:51 ` Kristen Carlson Accardi
2007-08-09 22:24   ` Greg KH [this message]
2007-08-09 22:47     ` Kristen Carlson Accardi
2007-08-09 23:04       ` Adrian Bunk
2007-08-09 23:13         ` Kristen Carlson Accardi
2007-08-09 23:28           ` Alan Cox
2007-08-09 23:20         ` Kristen Carlson Accardi
2007-08-09 23:39           ` Adrian Bunk
2007-08-13 16:05             ` Kristen Carlson Accardi
2007-08-09 23:20       ` Alan Cox
2007-08-11  3:42       ` Christoph Hellwig
2007-08-13 16:37         ` Kristen Carlson Accardi

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=20070809222427.GA32127@suse.de \
    --to=gregkh@suse.de \
    --cc=bunk@stusta.de \
    --cc=kristen.c.accardi@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@atrey.karlin.mff.cuni.cz \
    /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