Details

[Home]

Issue of the Implementation # L0343

Brief

net: mdio-mux: bcm-iproc: wrong getter and setter pair

Detailed Description

mdio_mux_iproc_probe() uses platform_set_drvdata() to store md pointer in device, whereas mdio_mux_iproc_remove() restores md pointer by dev_get_platdata(&pdev->dev). This leads to wrong resources release.

Component

linux-kernel 4.17

Accepted

https://lkml.org/lkml/2018/7/27/772
commit

Status

Fixed in kernel v4.18-rc8

[Home]