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-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to