aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-09-16 15:37:36 +0800
committerDavid S. Miller <davem@davemloft.net>2021-09-17 14:02:40 +0100
commitb20b54fb00a8c7cfc91ead288a8048cf343d9e7c (patch)
treeacd393af23c64b01df11e744ff6fdbdbe3f2189f /include/net/devlink.h
parentocteontx2-af: Remove redundant initialization of variable blkaddr (diff)
downloadlinux-dev-b20b54fb00a8c7cfc91ead288a8048cf343d9e7c.tar.xz
linux-dev-b20b54fb00a8c7cfc91ead288a8048cf343d9e7c.zip
net: stmmac: dwmac-visconti: Make use of the helper function dev_err_probe()
When possible use dev_err_probe help to properly deal with the PROBE_DEFER error, the benefit is that DEFER issue will be logged in the devices_deferred debugfs file. And using dev_err_probe() can reduce code size, and the error value gets printed. Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Acked-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
0 files changed, 0 insertions, 0 deletions