Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1699741rwe; Fri, 2 Sep 2022 02:11:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR6RH08+YyVvxOUbT3TJrFxPd2RUCqFTykLKhPk9eAqGpZdRKH8Ol7Wvdx5+I3VNbv+eeWmY X-Received: by 2002:a17:907:7d8c:b0:731:65f6:1f28 with SMTP id oz12-20020a1709077d8c00b0073165f61f28mr25226239ejc.91.1662109881457; Fri, 02 Sep 2022 02:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662109881; cv=none; d=google.com; s=arc-20160816; b=GMTGm+20F/9rBxpSRM55wmaSFB9ypna/KiY45V0K5TqWlJJVipeX0PvVK5RcNRBdYd O9ADhLgCi4eBpVxZVJkIYuKz+9woYqmdut/K+ZWShGz/hjgY+AnOnOHG7MCSBD8C3f39 giEySJuNnyKz9YdtEWGaewdgSkHrT3j4pEkQ9C0//QEM2oA/UCrdmEvChckfvwv6nKE1 TSTxsbuHx0jXs0MD9mkm+Rmzfw16ulwtQVwO7dGAJWw0W+KGMC1bIKuPjTJXo4nwNOTH rOsIJ0R3TwjASEDfGyIY//nc4xibOi25x0HAJdEmvBBqV9fFJRyUDZ7xMbGLYb0W+JQ6 1Kdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2vq96YagkL1eLjYmATH8qZ0qGLQJ6r1xHWK+AavlsdM=; b=IuEhgMRpdKpx+h4YqneNqq7cEocisvzj/XG/Aov4sN44GiM2ZxcSX1mm/LoELUDLsz t2A8GMGaqKpVA1lLyYnhU384R0rSsitQgw43hI5mcEMGf9NSZSfDSWDhyCcZudTGzx7n m4bEGDspjBUK4e2DIJUjJNzRL1i/+SZgyXs5DdSj1VwIRBVFK4NbIJNRsvvdxRY9wAYg anRwgjxn64X9nEjwtEZXTJyS4dNXxhmgkpxRRNkdAHuPDhrq+ObYSEtAGXw8RP3T2Exx A3Xx0Bsf80pinU5znnYQoWRz/o5rq7ou5kqaEEFVh/XZNLbxYes8bEUJowK7BWzR9jVd oLeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="vV/zgjjC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa38-20020a17090786a600b0073d63d9946asi1621940ejc.109.2022.09.02.02.10.55; Fri, 02 Sep 2022 02:11:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="vV/zgjjC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235975AbiIBIwP (ORCPT + 99 others); Fri, 2 Sep 2022 04:52:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235957AbiIBIwG (ORCPT ); Fri, 2 Sep 2022 04:52:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BE4977541 for ; Fri, 2 Sep 2022 01:52:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 35760B82A20 for ; Fri, 2 Sep 2022 08:52:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68487C433C1; Fri, 2 Sep 2022 08:52:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662108722; bh=KotLMig5z7tT9Gwnx+UUjdt0ZwNA6Lb0o+zz/CQnB1E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vV/zgjjCC0eA451u6LxPpHtT/i61Xqg8yXrI5WW4014zKg3Y6Mq8ob7uDxgiNTCM3 XV+6l7p/s9vHWqQlGu43+9DG1zchkwspUVpWTisdxtHJtxiOGZ+0OpwmV8S47HvuXl JRTqMVJuqR2tZ5bukbvj6CEob+4UflLZc+jsy/DU= Date: Fri, 2 Sep 2022 10:51:59 +0200 From: Greg KH To: Kumaravel.Thiagarajan@microchip.com Cc: lkp@intel.com, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [char-misc:char-misc-testing 20/24] drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.c:87:52: error: 'PCI_IRQ_ALL_TYPES' undeclared Message-ID: References: <202209020641.mPiacQEP-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 02, 2022 at 08:30:22AM +0000, Kumaravel.Thiagarajan@microchip.com wrote: > > > > -----Original Message----- > > From: Greg Kroah-Hartman > > Sent: Friday, September 2, 2022 12:33 PM > > To: kernel test robot ; Kumaravel Thiagarajan - I21417 > > ; kbuild-all@lists.01.org; linux- > > kernel@vger.kernel.org > > Subject: Re: [char-misc:char-misc-testing 20/24] > > drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.c:87:52: error: > > 'PCI_IRQ_ALL_TYPES' undeclared > > > > > > On Fri, Sep 02, 2022 at 06:13:10AM +0800, kernel test robot wrote: > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char- > > misc.git char-misc-testing > > > head: 51ea3f9e9017b47c15b37a200d8e81e36a169b70 > > > commit: 3f359bf61b6f65be474fbcdf557cd412f19d0f1d [20/24] misc: > > microchip: pci1xxxx: load auxiliary bus driver for the PIO function in the multi- > > function endpoint of pci1xxxx device. > > > config: sh-allmodconfig > > > (https://download.01.org/0day- > > ci/archive/20220902/202209020641.mPiacQE > > > P-lkp@intel.com/config) > > > compiler: sh4-linux-gcc (GCC) 12.1.0 > > > reproduce (this is a W=1 build): > > > wget https://raw.githubusercontent.com/intel/lkp- > > tests/master/sbin/make.cross -O ~/bin/make.cross > > > chmod +x ~/bin/make.cross > > > # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char- > > misc.git/commit/?id=3f359bf61b6f65be474fbcdf557cd412f19d0f1d > > > git remote add char-misc > > https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > > > git fetch --no-tags char-misc char-misc-testing > > > git checkout 3f359bf61b6f65be474fbcdf557cd412f19d0f1d > > > # save the config file > > > mkdir build_dir && cp config build_dir/.config > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 > > > make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash > > > drivers/misc/mchp_pci1xxxx/ > > > > > > If you fix the issue, kindly add following tag where applicable > > > Reported-by: kernel test robot > > > > > > All error/warnings (new ones prefixed by >>): > > > > > > drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.c: In function > > 'gp_aux_bus_probe': > > > >> drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.c:87:52: error: > > > >> 'PCI_IRQ_ALL_TYPES' undeclared (first use in this function) > > > 87 | retval = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); > > > | ^~~~~~~~~~~~~~~~~ > > > > Odd. > > > > Ah, the driver needs to have a "depends on PCI" for the Kconfig file. > > > > Kumaravel, can you send an add-on patch for this issue with the proper > > "Reported-by:" line as asked for above? > Greg, for the add-on patch, can I modify only the KConfig file which you can apply to > commit id: 3f359bf61b6f65be474fbcdf557cd412f19d0f1d of char-misc-testing? Yes, I can merge them together. thanks, greg k-h