[PATCH] mtd: rawnand: loongson1: Fix inconsistent refcounting in ls1x_nand_chip_init()
Miquel Raynal
miquel.raynal at bootlin.com
Mon May 12 07:29:06 PDT 2025
On Thu, 08 May 2025 11:28:42 +0800, Keguang Zhang wrote:
> As reported by Dan,
> commit d2d10ede04b1 ("mtd: rawnand: Add Loongson-1 NAND Controller
> Driver"), leads to the following Smatch static checker warning:
>
> drivers/mtd/nand/raw/loongson1-nand-controller.c:730 ls1x_nand_chip_init()
> warn: inconsistent refcounting 'chip_np->kobj.kref.refcount.refs.counter':
>
> [...]
Applied to nand/next, thanks!
[1/1] mtd: rawnand: loongson1: Fix inconsistent refcounting in ls1x_nand_chip_init()
commit: 615f8f5077fc8d399818bda2a18bcc89debeb7a8
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
More information about the linux-mtd
mailing list