summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/nuvoton
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-11-23 09:54:55 +0800
committerDavid S. Miller <davem@davemloft.net>2018-11-23 18:04:02 -0800
commitaea0a897af9e44c258e8ab9296fad417f1bc063a (patch)
tree1f9bbbb3d55fe48ebe9f67e8fc4fa8a46ba8cd4f /drivers/net/ethernet/nuvoton
parent06d212900ea9183e707218c04f4e77fc204a4fde (diff)
downloadblackbird-op-linux-aea0a897af9e44c258e8ab9296fad417f1bc063a.tar.gz
blackbird-op-linux-aea0a897af9e44c258e8ab9296fad417f1bc063a.zip
ptp: Fix pass zero to ERR_PTR() in ptp_clock_register
Fix smatch warning: drivers/ptp/ptp_clock.c:298 ptp_clock_register() warn: passing zero to 'ERR_PTR' 'err' should be set while device_create_with_groups and pps_register_source fails Fixes: 85a66e550195 ("ptp: create "pins" together with the rest of attributes") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/nuvoton')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud