[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150911124945.GA10016@sudip-pc>
Date: Fri, 11 Sep 2015 18:19:45 +0530
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: Jarkko Nikula <jarkko.nikula@...ux.intel.com>,
linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org
Subject: Re: [PATCH] spi: spidev: fix possible NULL dereference
On Fri, Sep 11, 2015 at 01:25:13PM +0100, Mark Brown wrote:
> On Fri, Sep 11, 2015 at 03:11:32PM +0300, Jarkko Nikula wrote:
>
> > Actually this fixes a *real* NULL dereference case but it is not related to
> > normal open/close life cycle of spidev. It requires that spidev is kept open
> > when SPI master is removed.
>
> > spidev->spi is set to NULL in spidev_remove() and it is called before
> > spidev_release() in case master is removed while spidev is in use
>
> > It would be good to update this to commit log, add a tag below and Cc
> > <stable@...r.kernel.org>
>
> > Fixes: 9169051617df ("spi: spidev: Don't mangle max_speed_hz in underlying
> > spi device")
>
> The patch was already applied :(
Applied? But usually I will receive an auto mail from you after applying.
I dont think I have received any.
regards
sudip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists