lkml.org 
[lkml]   [2014]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build failure after merge of the final tree (staging tree related)
Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/staging/rtl8188eu/core/rtw_mlme.c: In function '_rtw_init_mlme_priv':
drivers/staging/rtl8188eu/core/rtw_mlme.c:65:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
pbuf = vzalloc(MAX_BSS_CNT * (sizeof(struct wlan_network)));
^
drivers/staging/rtl8188eu/core/rtw_mlme.c:65:7: warning: assignment makes pointer from integer without a cast [enabled by default]
pbuf = vzalloc(MAX_BSS_CNT * (sizeof(struct wlan_network)));
^
drivers/staging/rtl8188eu/core/rtw_mlme.c: In function '_rtw_free_mlme_priv':
drivers/staging/rtl8188eu/core/rtw_mlme.c:133:4: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(pmlmepriv->free_bss_buf);
^
drivers/staging/rtl8188eu/core/rtw_mp.c: In function '_rtw_mp_xmit_priv':
drivers/staging/rtl8188eu/core/rtw_mp.c:946:3: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(pxmitpriv->pallocated_xmit_extbuf);
^
drivers/staging/rtl8188eu/core/rtw_mp.c:959:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
pxmitpriv->pallocated_xmit_extbuf = vzalloc(num_xmit_extbuf * sizeof(struct xmit_buf) + 4);
^
drivers/staging/rtl8188eu/core/rtw_mp.c:959:36: warning: assignment makes pointer from integer without a cast [enabled by default]
pxmitpriv->pallocated_xmit_extbuf = vzalloc(num_xmit_extbuf * sizeof(struct xmit_buf) + 4);
^
drivers/staging/rtl8188eu/core/rtw_recv.c: In function '_rtw_init_recv_priv':
drivers/staging/rtl8188eu/core/rtw_recv.c:80:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(union recv_frame) + RXFRAME_ALIGN_SZ);
^
drivers/staging/rtl8188eu/core/rtw_recv.c:80:34: warning: assignment makes pointer from integer without a cast [enabled by default]
precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(union recv_frame) + RXFRAME_ALIGN_SZ);
^
drivers/staging/rtl8188eu/core/rtw_recv.c: In function '_rtw_free_recv_priv':
drivers/staging/rtl8188eu/core/rtw_recv.c:132:3: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(precvpriv->pallocated_frame_buf);
^
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c: In function '_rtw_init_sta_priv':
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c:82:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA + 4);
^
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c:82:35: warning: assignment makes pointer from integer without a cast [enabled by default]
pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA + 4);
^
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c: In function '_rtw_free_sta_priv':
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c:211:4: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(pstapriv->pallocated_stainfo_buf);
^
drivers/staging/rtl8188eu/core/rtw_xmit.c: In function '_rtw_init_xmit_priv':
drivers/staging/rtl8188eu/core/rtw_xmit.c:94:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4);
^
drivers/staging/rtl8188eu/core/rtw_xmit.c:94:34: warning: assignment makes pointer from integer without a cast [enabled by default]
pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4);
^
drivers/staging/rtl8188eu/core/rtw_xmit.c:132:32: warning: assignment makes pointer from integer without a cast [enabled by default]
pxmitpriv->pallocated_xmitbuf = vzalloc(NR_XMITBUFF * sizeof(struct xmit_buf) + 4);
^
drivers/staging/rtl8188eu/core/rtw_xmit.c:174:36: warning: assignment makes pointer from integer without a cast [enabled by default]
pxmitpriv->pallocated_xmit_extbuf = vzalloc(num_xmit_extbuf * sizeof(struct xmit_buf) + 4);
^
drivers/staging/rtl8188eu/core/rtw_xmit.c: In function '_rtw_free_xmit_priv':
drivers/staging/rtl8188eu/core/rtw_xmit.c:262:3: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(pxmitpriv->pallocated_frame_buf);
^
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c: In function 'rtw_IOL_cmd_tx_pkt_buf_dump':
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c:368:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
u8 *pbuf = vzalloc(data_len+10);
^
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c:368:13: warning: initialization makes pointer from integer without a cast [enabled by default]
u8 *pbuf = vzalloc(data_len+10);
^
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c:390:3: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(pbuf);
^
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c: In function 'rtw_wx_set_priv':
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:5651:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
ext = vmalloc(len);
^
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:5651:6: warning: assignment makes pointer from integer without a cast [enabled by default]
ext = vmalloc(len);
^
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:5656:3: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(ext);
^
drivers/staging/rtl8188eu/os_dep/usb_intf.c: In function 'rtw_usb_if1_init':
drivers/staging/rtl8188eu/os_dep/usb_intf.c:649:21: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
padapter = (struct adapter *)vzalloc(sizeof(*padapter));
^
drivers/staging/rtl8188eu/os_dep/usb_intf.c:649:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
padapter = (struct adapter *)vzalloc(sizeof(*padapter));
^
drivers/staging/rtl8188eu/os_dep/usb_intf.c:749:4: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(padapter);
^

Caused by commits 2397c6e09276 ("staging: r8188eu: Remove wrappers around
vmalloc and vzalloc") and 03bd6aea7ba6 ("staging: r8188eu: Remove
wrappers around vfree") from the staging tree. See Rule 1 in
Documentation/SubmitChecklist ...

I have disabled that driver for today.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-02-10 09:41    [W:0.286 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site