Re: [PATCH wpan-next v3 11/11] ieee802154: Give the user the association list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

>    net/ieee802154/nl802154.c: In function 'nl802154_list_associations':
> >> net/ieee802154/nl802154.c:1778:15: error: implicit declaration of function 'nl802154_prepare_wpan_dev_dump' [-Werror=implicit-function-declaration]  
>     1778 |         err = nl802154_prepare_wpan_dev_dump(skb, cb, &rdev, &wpan_dev);
>          |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> net/ieee802154/nl802154.c:1811:9: error: implicit declaration of function 'nl802154_finish_wpan_dev_dump' [-Werror=implicit-function-declaration]  
>     1811 |         nl802154_finish_wpan_dev_dump(rdev);
>          |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    cc1: some warnings being treated as errors
> 
> 
> vim +/nl802154_prepare_wpan_dev_dump +1778 net/ieee802154/nl802154.c
> 
>   1769	
>   1770	static int nl802154_list_associations(struct sk_buff *skb,
>   1771					      struct netlink_callback *cb)
>   1772	{
>   1773		struct cfg802154_registered_device *rdev;
>   1774		struct ieee802154_pan_device *child;
>   1775		struct wpan_dev *wpan_dev;
>   1776		int err;
>   1777	
> > 1778		err = nl802154_prepare_wpan_dev_dump(skb, cb, &rdev, &wpan_dev);  

[...]

> > 1811		nl802154_finish_wpan_dev_dump(rdev);  

These two are defined within #ifdef EXPERIMENTAL. I will move them out
as I need them as well inthe !EXPERIMENTAL case. Good that kernel test
robot eventually catch that.

Thanks,
Miquèl




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux