[PATCH] Fix missing include file in RTL8192U staging driver

Greg KH gregkh at suse.de
Thu Sep 3 11:04:53 PDT 2009


On Thu, Sep 03, 2009 at 05:22:13PM +0530, Kamalesh Babulal wrote:
> Hi Greg,
> 
> 	2.6.31-rc8 build fails with
> 
> drivers/staging/rtl8192su/r8192U_core.c:5086: error: implicit declaration of function 'vmalloc'
> drivers/staging/rtl8192su/r8192U_core.c:5086: warning: cast to pointer from integer of different size
> drivers/staging/rtl8192su/r8192U_core.c: In function 'rtl8192_usb_disconnect':
> drivers/staging/rtl8192su/r8192U_core.c:12308: error: implicit declaration of function 'vfree'
> 
> Including the vmalloc.h file, fixes the build failure. I have tested the
> patch for build failure only.

On what arch are you hitting this?

This should all be resolved in the linux-next tree, right?

thanks,

greg k-h


More information about the devel mailing list