Details

[Home]

Issue of the Implementation # L0347

Brief

mtd: spi-nor: nxp-spifi: missing release of flash_np in nxp_spifi_probe

Detailed Description

nxp_spifi_probe() increments refcnt of SPI flash device node by of_get_next_available_child() and leaves it undecremented on both successful and error paths.

Component

linux-kernel 4.18

Accepted

https://lkml.org/lkml/2018/5/9/579
commit

Status

Fixed in kernel v4.19-rc1

[Home]