Re: [PATCH v3 net-next] net: ethernet: ti: cpsw: Fix inconsistent IS_ERR and PTR_ERR in cpsw_probe()
From: David Miller <davem@davemloft.net>
Date: 2019-05-01 18:29:56
Also in:
kernel-janitors, linux-omap
From: David Miller <davem@davemloft.net>
Date: 2019-05-01 18:29:56
Also in:
kernel-janitors, linux-omap
From: YueHaibing <redacted> Date: Tue, 30 Apr 2019 01:55:24 +0000
Fix inconsistent IS_ERR and PTR_ERR in cpsw_probe,
The proper pointer to use is clk instead of mode.
This issue was detected with the help of Coccinelle.
Fixes: 83a8471ba255 ("net: ethernet: ti: cpsw: refactor probe to group common hw initialization")
Signed-off-by: YueHaibing <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
---
v3: Fix commit log
v2: add Fixes tagApplied.