Re: [PATCH v2] HID: sensor-hub: Avoid holding spinlock across child iteration

From: Zheng Shuhao

Date: Mon Nov 23 2026 - 01:18:35 EST


I'll do that. It was only after your reminder that I noticed Srinivas's patch had landed in git history just a few minutes after I sent out v2.

OK, there may have been some misunderstanding here. I developed my patch against the baseline kernel without following the discussion around patches that hadn't yet been merged, so after sashiko reported the null pointer issue (https://sashiko.dev/#/bug/linux-23655093-642a-447c-b416-776e47c98d55), I submitted the patch directly without giving it much thought. Only now do I see that Srinivas's earlier patch had actually already included the NULL-dereference guard. It was all such a coincidence, and I got confused — after all, I assumed the issue sashiko had just reported wouldn't already have an earlier fix, and I also wonder why would that happened.

Anyway, I'll send out v3 though it may not make much sense. I apologize for all the trouble I've caused.

On Mon, Nov 23, 2026 at 10:39 AM Zhang, Lixu <lixu.zhang@xxxxxxxxx> wrote:
> Hi Shuhao,
>
> Thanks for the patch. This v2 does not apply cleanly on top of
> hid/for-next due to commit 41cb3076a221 ("HID: sensor-hub: Remove
> clients before stopping hardware").
>
> Could you please rebase it on top of hid/for-next and resend as v3?
> I'd be happy to test v3 and provide a Tested-by tag.
>
> Thanks,
> Lixu