lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1508061120480.1268-100000@iolanthe.rowland.org>
Date:	Thu, 6 Aug 2015 11:25:32 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Jim Davis <jim.epost@...il.com>
cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next <linux-next@...r.kernel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	balbi <balbi@...com>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	linux-usb <linux-usb@...r.kernel.org>
Subject: Re: randconfig build error with next-20150806, in
 drivers/usb/gadget/function/f_mass_storage.c

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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ