Content-Type: multipart/mixed; boundary="===============2058436029133259831==" MIME-Version: 1.0 From: Matthias Kaehlcke To: kbuild-all@lists.01.org Subject: Re: [PATCH v11 2/5] USB: misc: Add onboard_usb_hub driver Date: Mon, 07 Jun 2021 11:32:31 -0700 Message-ID: In-Reply-To: List-Id: --===============2058436029133259831== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, Jun 07, 2021 at 08:23:43PM +0200, Greg Kroah-Hartman wrote: > On Mon, Jun 07, 2021 at 10:51:57AM -0700, Matthias Kaehlcke wrote: > > On Sat, Jun 05, 2021 at 07:18:38AM +0800, kernel test robot wrote: > > > Hi Matthias, > > > = > > > I love your patch! Perhaps something to improve: > > > = > > > [auto build test WARNING on next-20210604] > > > [also build test WARNING on v5.13-rc4] > > > [cannot apply to usb/usb-testing robh/for-next char-misc/char-misc-te= sting driver-core/driver-core-testing linus/master v5.13-rc4 v5.13-rc3 v5.1= 3-rc2] > > > [If your patch is applied to the wrong git tree, kindly drop us a not= e. > > > And when submitting patch, we suggest to use '--base' as documented in > > > https://git-scm.com/docs/git-format-patch] > > > = > > > url: https://github.com/0day-ci/linux/commits/Matthias-Kaehlcke/US= B-misc-Add-onboard_usb_hub-driver/20210605-054213 > > > base: ccc252d2e818f6a479441119ad453c3ce7c7c461 > > > config: arc-allyesconfig (attached as .config) > > > compiler: arceb-elf-gcc (GCC) 9.3.0 > > > reproduce (this is a W=3D1 build): > > > wget https://raw.githubusercontent.com/intel/lkp-tests/master= /sbin/make.cross -O ~/bin/make.cross > > > chmod +x ~/bin/make.cross > > > # https://github.com/0day-ci/linux/commit/7107f99a12058b71473= 42c6f763d026102bd6606 > > > git remote add linux-review https://github.com/0day-ci/linux > > > git fetch --no-tags linux-review Matthias-Kaehlcke/USB-misc-A= dd-onboard_usb_hub-driver/20210605-054213 > > > git checkout 7107f99a12058b7147342c6f763d026102bd6606 > > > # save the attached .config to linux build tree > > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.= cross ARCH=3Darc = > > > = > > > If you fix the issue, kindly add following tag as appropriate > > > Reported-by: kernel test robot > > > = > > > All warnings (new ones prefixed by >>): > > > = > > > >> drivers/usb/misc/onboard_usb_hub.c:400:6: warning: no previous pro= totype for 'onboard_hub_create_pdevs' [-Wmissing-prototypes] > > > 400 | void onboard_hub_create_pdevs(struct usb_device *parent_hu= b, struct list_head *pdev_list) > > > | ^~~~~~~~~~~~~~~~~~~~~~~~ > > > >> drivers/usb/misc/onboard_usb_hub.c:458:6: warning: no previous pro= totype for 'onboard_hub_destroy_pdevs' [-Wmissing-prototypes] > > > 458 | void onboard_hub_destroy_pdevs(struct list_head *pdev_list) > > > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > > = > > Oh, I wasn't aware that prototypes are required for public functions. > = > How else can they be called? Well, there are prototypes in include/linux/usb/onboard_hub.h, however this header isn't included (anymore) by the driver itself to avoid conflicts when COMPILE_TEST=3Dy (see https://lkml.org/lkml/2021/5/25/975). --===============2058436029133259831==--