[bluetooth:master 18/18] net/bluetooth/af_bluetooth.c:623:2: error: implicit declaration of function 'PDE'

From: Fengguang Wu <hidden>
Date: 2012-07-25 00:26:00
Also in: kernel-janitors

Hi Masatake,

Kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
head:   9142a0d5f63fe4901fa335bdf97a0368515456f9
commit: 9142a0d5f63fe4901fa335bdf97a0368515456f9 [18/18] Bluetooth: /proc/net/ entries for bluetooth protocols
config: i386-randconfig-b002 (attached as .config)

All related error/warning messages:

net/bluetooth/af_bluetooth.c: In function 'bt_seq_open':
net/bluetooth/af_bluetooth.c:623:2: error: implicit declaration of function 'PDE' [-Werror=implicit-function-declaration]
net/bluetooth/af_bluetooth.c:623:22: error: invalid type argument of '->' (have 'int')
net/bluetooth/af_bluetooth.c: In function 'bt_procfs_init':
net/bluetooth/af_bluetooth.c:647:2: error: implicit declaration of function 'proc_net_fops_create' [-Werror=implicit-function-declaration]
net/bluetooth/af_bluetooth.c:647:6: warning: assignment makes pointer from integer without a cast [enabled by default]
net/bluetooth/af_bluetooth.c:651:5: error: dereferencing pointer to incomplete type
net/bluetooth/af_bluetooth.c: In function 'bt_procfs_cleanup':
net/bluetooth/af_bluetooth.c:658:2: error: implicit declaration of function 'proc_net_remove' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

vim +623 net/bluetooth/af_bluetooth.c
   620		struct bt_sock_list *sk_list;
   621		struct bt_seq_state *s;
   622	
 > 623		sk_list = PDE(inode)->data;
   624		s = __seq_open_private(file, &bt_seq_ops,
   625				       sizeof(struct bt_seq_state));
   626		if (s == NULL)

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [off-list ref]                     Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help