From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Nazarewicz Subject: Re: [PATCH] usb/gadget: let file storage gadget select libcomposite Date: Wed, 24 Oct 2012 19:30:42 +0200 Message-ID: References: <20121018144614.b61961cfae2274d52d340882@canb.auug.org.au> <50809624.30601@xenotime.net> <20121024144435.GF4368@breakpoint.cc> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mail-ee0-f46.google.com ([74.125.83.46]:35687 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932947Ab2JXRbx (ORCPT ); Wed, 24 Oct 2012 13:31:53 -0400 Received: by mail-ee0-f46.google.com with SMTP id b15so300348eek.19 for ; Wed, 24 Oct 2012 10:31:51 -0700 (PDT) In-Reply-To: <20121024144435.GF4368@breakpoint.cc> Sender: linux-next-owner@vger.kernel.org List-ID: To: Sebastian Andrzej Siewior , Randy Dunlap , Felipe Balbi Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, USB list --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, Oct 24 2012, Sebastian Andrzej Siewior wrote: > From: Sebastian Andrzej Siewior > Date: Wed, 24 Oct 2012 16:40:10 +0200 > > found by randconfig, Randy Dunlap and Stephen Rothwell: > > |drivers/built-in.o: In function `fsg_setup': > |file_storage.c:(.text+0x24db7c): undefined reference to `usb_gadget_conf= ig_buf' > |file_storage.c:(.text+0x24db98): undefined reference to `usb_gadget_get_= string' > |drivers/built-in.o: In function `fsg_bind': > |file_storage.c:(.init.text+0xee42): undefined reference to `usb_ep_autoc= onfig_reset' > |file_storage.c:(.init.text+0xee51): undefined reference to `usb_ep_autoc= onfig' > |file_storage.c:(.init.text+0xee73): undefined reference to `usb_ep_autoc= onfig' > |file_storage.c:(.init.text+0xee9e): undefined reference to `usb_ep_autoc= onfig' > > Signed-off-by: Sebastian Andrzej Siewior At first it looks strange as FSG does not use composite, but yeah: Acked-by: Michal Nazarewicz > --- > for v3.7 please. > > drivers/usb/gadget/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig > index bbcec83..66bc3ab 100644 > --- a/drivers/usb/gadget/Kconfig > +++ b/drivers/usb/gadget/Kconfig > @@ -737,6 +737,7 @@ config USB_FUNCTIONFS_GENERIC >=20=20 > config USB_FILE_STORAGE > tristate "File-backed Storage Gadget (DEPRECATED)" > + select USB_LIBCOMPOSITE > depends on BLOCK > help > The File-backed Storage Gadget acts as a USB Mass Storage --=20 Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o ..o | Computer Science, Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz = (o o) ooo +------------------ooO--(_)--Ooo-- --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJQiCXDAAoJECBgQBJQdR/0f2IP/je3puG5abXBhOU+T/e+J8Sy 8esihs1NgHZxsWSVK0StWCc9u7aFSiZK/9gdjiVATbe0881mz5Mf7r5xYe6UsM6q ods7nlHRqKH8hkMToyENtgAAcTKbTOUFlemOS8S+ODlq75ICHCdJrNnezbLzgR5b 1xMTsYq05DmIPTqEHonCZoQ2ecLbZt1x37lM5qvBaFnnNEnqk6uYtEX416jfapny KpllpvAUPISbqyVPACjzMV4MVDtJzQRX2p2AE6TdVyHPBFzzOw3pWMBtNIFnv6YN 1owlmm/FiW6GPwmfEg+dp0I4B2ZuqwD9n+TF4iMJdqUK4D5WByZGgM2Y7HTW5IsI 0EtHBxE9ZiT89e9g4Lyd7E3BESiTaFF/A4VSuq4O4grl3RQd4gxALfIo9YJHXPps NQynpD2Ldt3sEuQcto93L3ALrLBf6zDy6G//H/75hMksEZbj8Mydc3Knc2RuSKE+ GYohc9+l9+NLllS8pmnL6VoVoHmiKK5+o+xBbQptK4wkUmI/Pr9wkFjAo9OzjKiE Dq1T95gqFif7rNKDRA86RFNUFSRAwcnEprv9uvH9UTegs9eG6dlHtPw/q5c+03Yz 7oFL0LuJ2GCmqiKkXqAMrKfb0d6Vw6kW4GfVPy5Li6xDT5inkJaT8H1KjQLz9BD7 5Hw83/6WG56EM7GOpSEg =Zu0Q -----END PGP SIGNATURE----- --==-=-=-- --=-=-=--