projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extcon: Add an API to get extcon device from dt node
[firefly-linux-kernel-4.4.55.git]
/
net
/
appletalk
/
aarp.c
diff --git
a/net/appletalk/aarp.c
b/net/appletalk/aarp.c
index 173a2e82f486b4ee19411b18842e61f57b05a58c..690356fa52b99a2d66a8522c448c51ba7eedba5f 100644
(file)
--- a/
net/appletalk/aarp.c
+++ b/
net/appletalk/aarp.c
@@
-332,7
+332,7
@@
static void aarp_expire_timeout(unsigned long unused)
static int aarp_device_event(struct notifier_block *this, unsigned long event,
void *ptr)
{
- struct net_device *dev =
ptr
;
+ struct net_device *dev =
netdev_notifier_info_to_dev(ptr)
;
int ct;
if (!net_eq(dev_net(dev), &init_net))