Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1201835 > unrolled thread
| Started by | Jim Davis <jim.epost@gmail.com> |
|---|---|
| First post | 2015-08-06 17:10 +0200 |
| Last post | 2015-08-06 17:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
randconfig build error with next-20150806, in drivers/usb/gadget/function/f_mass_storage.c Jim Davis <jim.epost@gmail.com> - 2015-08-06 17:10 +0200
Re: randconfig build error with next-20150806, in drivers/usb/gadget/function/f_mass_storage.c Alan Stern <stern@rowland.harvard.edu> - 2015-08-06 17:30 +0200
| From | Jim Davis <jim.epost@gmail.com> |
|---|---|
| Date | 2015-08-06 17:10 +0200 |
| Subject | randconfig build error with next-20150806, in drivers/usb/gadget/function/f_mass_storage.c |
| Message-ID | <pUuXT-4cV-3@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
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] -- Jim
[toc] | [next] | [standalone]
| From | Alan Stern <stern@rowland.harvard.edu> |
|---|---|
| Date | 2015-08-06 17:30 +0200 |
| Subject | Re: randconfig build error with next-20150806, in drivers/usb/gadget/function/f_mass_storage.c |
| Message-ID | <pUvhg-4zC-3@gated-at.bofh.it> |
| In reply to | #1201835 |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web