[PATCH] Input: mtk-pmic-keys: Fix null pointer dereference when no compatible data

Easwar Hariharan eahariha at linux.microsoft.com
Mon Jun 30 15:23:36 PDT 2025


On 6/30/2025 2:46 PM, Dmitry Torokhov wrote:
> On Mon, Jun 30, 2025 at 01:18:40PM -0700, Easwar Hariharan wrote:
>>
>> Also, it may make sense to CC: stable at vger.kernel.org for backports
> 
> What for? Stable does not need a patch papering over an oops, it needs a
> patch making the keypad working on the affected device.
> 
> Thanks.
> 

I don't have a stake either way, it was simply a suggestion, since it qualifies
IMHO, per https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html,
the patch "...fixes a problem like an oops..."

The proper fix might well be, as Nicolas suggested, adding the required compatibles.

- Easwar (he/him)



More information about the linux-arm-kernel mailing list