Re: [PATCH v2] platform/x86: alienware-wmi-wmax: Fix null pointer derefence in sleep handlers

From: Kurt Borja

Date: Tue Oct 14 2025 - 05:48:31 EST


On Mon Oct 13, 2025 at 10:10 AM -05, Ilpo Järvinen wrote:
> On Mon, 13 Oct 2025 00:26:26 -0500, Kurt Borja wrote:
>
>> Initialize `awcc` with empty quirks to avoid a null pointer dereference
>> in sleep handlers for devices without the AWCC interface.
>>
>> This also allows some code simplification in alienware_wmax_wmi_init().
>>
>>
>
>
> Thank you for your contribution, it has been applied to my local
> review-ilpo-fixes branch. Note it will show up in the public
> platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
> local branch there, which might take a while.
>
> The list of commits applied:
> [1/1] platform/x86: alienware-wmi-wmax: Fix null pointer derefence in sleep handlers
> commit: 5ae9382ac3c56d044ed065d0ba6d8c42139a8f98
>
> --
> i.

Hi Ilpo,

Gal has just noticed this approach prevents the old driver interface
from loading, which is a huge regression.

Do you prefer to drop this commit or should I submit a revert?

Thank you for your patience!


--
~ Kurt