Re: [PATCH v2 5/6] net: dsa: add missing calls in dsa_switch_destroy
From: kbuild test robot
Date: Thu Oct 29 2015 - 09:45:53 EST
Hi Neil,
[auto build test ERROR on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Neil-Armstrong/Further-fix-for-dsa-unbinding/20151029-212633
config: x86_64-randconfig-x010-201543 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
Note: the linux-review/Neil-Armstrong/Further-fix-for-dsa-unbinding/20151029-212633 HEAD 3c957c00de125eeffe9f50eda7cf94a98855f615 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
net/dsa/dsa.c: In function 'dsa_switch_destroy':
>> net/dsa/dsa.c:459:18: error: 'p' undeclared (first use in this function)
phy_disconnect(p->phy);
^
net/dsa/dsa.c:459:18: note: each undeclared identifier is reported only once for each function it appears in
vim +/p +459 net/dsa/dsa.c
453
454 if (!ds->ports[port])
455 continue;
456
457 netif_carrier_off(ds->ports[port]);
458 unregister_netdev(ds->ports[port]);
> 459 phy_disconnect(p->phy);
460 free_netdev(ds->ports[port]);
461 }
462
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data