Re: randconfig build error with next-20150806, in drivers/usb/gadget/function/f_mass_storage.c

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

 



On Thu, 6 Aug 2015, Jim Davis wrote:

> Building with the attached random configuration file,
> 
> drivers/usb/gadget/function/f_mass_storage.c: In function ‘fsg_main_thread’:
> drivers/usb/gadget/function/f_mass_storage.c:2520:2: error: implicit
> declaration of function ‘set_fs’
> [-Werror=implicit-function-declaration]
>   set_fs(get_ds());
>   ^
> drivers/usb/gadget/function/f_mass_storage.c:2520:2: error: implicit
> declaration of function ‘get_ds’
> [-Werror=implicit-function-declaration]

Looks like the source file needs to #include <linux/uaccess.h>.  
Apparently it got brought in indirectly from some other header file in
4.1, but not in current linux-next.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux