Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/silicom/bpctl_mod.c between commit 351638e7deee ("net: pass info struct via netdevice notifier") from the net-next tree and commit f84b075178b4 ("Staging: silicom: Fixed error 'do not initialise statics to 0 or NULL'") from the staging tree. I fixed it up (see below) and can carry the fix as necessary (no action is required). -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx diff --cc drivers/staging/silicom/bpctl_mod.c index c8ddb99,3082ba9..0000000 --- a/drivers/staging/silicom/bpctl_mod.c +++ b/drivers/staging/silicom/bpctl_mod.c @@@ -133,8 -133,8 +133,8 @@@ static unsigned long str_to_hex(char *p static int bp_device_event(struct notifier_block *unused, unsigned long event, void *ptr) { - struct net_device *dev = ptr; + struct net_device *dev = netdev_notifier_info_to_dev(ptr); - static bpctl_dev_t *pbpctl_dev = NULL, *pbpctl_dev_m = NULL; + static bpctl_dev_t *pbpctl_dev, *pbpctl_dev_m; int dev_num = 0, ret = 0, ret_d = 0, time_left = 0; /* printk("BP_PROC_SUPPORT event =%d %s %d\n", event,dev->name, dev->ifindex ); */ /* return NOTIFY_DONE; */
Attachment:
pgpYPsbsC1MRd.pgp
Description: PGP signature