Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754217AbbHFPZf (ORCPT ); Thu, 6 Aug 2015 11:25:35 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:54125 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752892AbbHFPZd (ORCPT ); Thu, 6 Aug 2015 11:25:33 -0400 Date: Thu, 6 Aug 2015 11:25:32 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Jim Davis cc: Stephen Rothwell , linux-next , linux-kernel , balbi , Greg Kroah-Hartman , linux-usb Subject: Re: randconfig build error with next-20150806, in drivers/usb/gadget/function/f_mass_storage.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 944 Lines: 25 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 . 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/