Re: [PATCH v1] i2c: aspeed: fixed potential null pointer dereference

From: Joel Stanley
Date: Sun Aug 13 2017 - 23:51:51 EST


On Sat, Aug 12, 2017 at 9:02 PM, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:
> On Fri, Jul 28, 2017 at 06:00:12PM -0700, Brendan Higgins wrote:
>> Before I skipped null checks when the master is in the STOP state; this
>> fixes that.
>>
>> Signed-off-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>
>
> Is there a suitable "Fixes:" tag for this?
>

The driver was introduced in 4.13, so we could add:

Fixes: f327c686d3ba ("i2c: aspeed: added driver for Aspeed I2C")

Cheers,

Joel