diff options
author | Lourdes Pedrajas <lu@pplo.net> | 2020-03-20 01:39:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-20 15:07:45 +0100 |
commit | 795302918365deb726643aabaa2ba2fa3e3a2475 (patch) | |
tree | 747d189edfd18e50a6fd4d9cc2c6a76f44296269 /drivers/staging/gdm724x/netlink_k.h | |
parent | 04ff8b51ae7e22a4d753a6ad70fa6fad0437a3be (diff) |
staging: gdm724x: use netdev_err() instead of pr_err()
use netdev_err() which is a message printing function specific for network
devices instead of pr_err(), in function netlink_send().
Signed-off-by: Lourdes Pedrajas <lu@pplo.net>
Link: https://lore.kernel.org/r/20200320003947.31726-1-lu@pplo.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x/netlink_k.h')
-rw-r--r-- | drivers/staging/gdm724x/netlink_k.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/gdm724x/netlink_k.h b/drivers/staging/gdm724x/netlink_k.h index c9e1d3b2d54f..d42eea9bea3e 100644 --- a/drivers/staging/gdm724x/netlink_k.h +++ b/drivers/staging/gdm724x/netlink_k.h @@ -10,6 +10,7 @@ struct sock *netlink_init(int unit, void (*cb)(struct net_device *dev, u16 type, void *msg, int len)); -int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len); +int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len, + struct net_device *dev); #endif /* _NETLINK_K_H_ */ |