[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e46f56f4-f28f-4fb6-4249-554059f9fc2f@gmail.com>
Date: Fri, 26 Apr 2024 10:28:40 +0300
From: Sergei Shtylyov <sergei.shtylyov@...il.com>
To: Wolfram Sang <wsa+renesas@...g-engineering.com>,
linux-renesas-soc@...r.kernel.org
Cc: Baruch Siach <baruch@...s.co.il>, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: smbus: fix NULL function pointer dereference
On 4/26/24 9:44 AM, Wolfram Sang wrote:
> Brauch reported an OOPS when using the designware controller as target
He's Baruch... :-)
> only. Target-only modes break the assumption of one transfer function
> always being available. Fix this by always checking the pointer in
> __i2c_transfer.
>
> Reported-by: Baruch Siach <baruch@...s.co.il>
> Closes: https://lore.kernel.org/r/4269631780e5ba789cf1ae391eec1b959def7d99.1712761976.git.baruch@tkos.co.il
> Fixes: 4b1acc43331d ("i2c: core changes for slave support")
> Signed-off-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
[...]
MBR, Sergey
Powered by blists - more mailing lists