[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1474069064.10494.4.camel@linux.intel.com>
Date: Fri, 16 Sep 2016 16:37:44 -0700
From: J Freyensee <james_p_freyensee@...ux.intel.com>
To: Andy Lutomirski <luto@...nel.org>,
Keith Busch <keith.busch@...el.com>, Jens Axboe <axboe@...com>
Cc: linux-nvme@...ts.infradead.org, Christoph Hellwig <hch@....de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 1/3] nvme/scsi: Remove power management support
On Fri, 2016-09-16 at 11:16 -0700, Andy Lutomirski wrote:
> As far as I can tell, there is basically nothing correct about this
> code. It misinterprets npss (off-by-one). It hardcodes a bunch of
> power states, which is nonsense, because they're all just indices
> into a table that software needs to parse. It completely ignores
> the distinction between operational and non-operational states.
> And, until 4.8, if all of the above magically succeeded, it would
> dereference a NULL pointer and OOPS.
>
> Since this code appears to be useless, just delete it.
Acked-by: Jay Freyensee <james_p_freyensee@...ux.intel.com>
>
> Signed-off-by: Andy Lutomirski <luto@...nel.org>
> ---
>
Powered by blists - more mailing lists