summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
diff options
context:
space:
mode:
authorYueHaibing2019-04-30 03:55:24 +0200
committerDavid S. Miller2019-05-01 20:29:35 +0200
commitac97a359b72d340e1c04083451b1c6d2f41eb317 (patch)
tree3ec76db974b912867e56031f4ec13567d1aff07d /drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
parentMerge branch 'net-sched-taprio-change-schedules' (diff)
downloadkernel-qcow2-linux-ac97a359b72d340e1c04083451b1c6d2f41eb317.tar.gz
kernel-qcow2-linux-ac97a359b72d340e1c04083451b1c6d2f41eb317.tar.xz
kernel-qcow2-linux-ac97a359b72d340e1c04083451b1c6d2f41eb317.zip
net: ethernet: ti: cpsw: Fix inconsistent IS_ERR and PTR_ERR in cpsw_probe()
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 <yuehaibing@huawei.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c')
0 files changed, 0 insertions, 0 deletions