Re: [PATCH] MIPS: Fix a reference leak bug in ip22_check_gio()

From: Maciej W. Rozycki

Date: Fri Dec 05 2025 - 06:54:06 EST


On Thu, 4 Dec 2025, Haoxiang Li wrote:

> If gio_device_register fails, gio_dev_put() is required to
> drop the gio_dev device reference.
>
> Fixes: e84de0c61905 ("MIPS: GIO bus support for SGI IP22/28")
> Cc: stable@xxxxxxxxxxxxxxx

Even if this does ever trigger in reality, it's seems like a benign issue
that does not qualify for the -stable tree. Please read the first section
of Documentation/process/stable-kernel-rules.rst for the acceptance rules
and if you still think this needs to be backported, then give rationale.

Maciej