public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-pci@vger.kernel.org,
	Lorenzo Pieralisi <lpieralisi@kernel.org>,
	Johan Hovold <johan+linaro@kernel.org>
Subject: [pci:controller/qcom 17/27] drivers/pci/controller/dwc/pcie-qcom.c:247:1: error: type name requires a specifier or qualifier
Date: Wed, 12 Apr 2023 05:07:03 +0800	[thread overview]
Message-ID: <202304120557.LijMReu1-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git controller/qcom
head:   dc8d33452b3643f4b4c33fd4492aa7ae4e8e00d6
commit: ca0e2aad27202b971def5a3dfeffb23d80ebe350 [17/27] PCI: qcom: Add support for system suspend and resume
config: riscv-randconfig-r036-20230409 (https://download.01.org/0day-ci/archive/20230412/202304120557.LijMReu1-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 2c57868e2e877f73c339796c3374ae660bb77f0d)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/commit/?id=ca0e2aad27202b971def5a3dfeffb23d80ebe350
        git remote add pci https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git
        git fetch --no-tags pci controller/qcom
        git checkout ca0e2aad27202b971def5a3dfeffb23d80ebe350
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/pci/controller/dwc/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304120557.LijMReu1-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/pci/controller/dwc/pcie-qcom.c:247:1: error: type name requires a specifier or qualifier
   +       bool suspended;
   ^
>> drivers/pci/controller/dwc/pcie-qcom.c:247:1: error: expected member name or ';' after declaration specifiers
>> drivers/pci/controller/dwc/pcie-qcom.c:246:25: error: expected ';' at end of declaration list
           struct dentry *debugfs;
                                  ^
                                  ;
>> drivers/pci/controller/dwc/pcie-qcom.c:1574:9: error: no member named 'suspended' in 'struct qcom_pcie'
                   pcie->suspended = true;
                   ~~~~  ^
   drivers/pci/controller/dwc/pcie-qcom.c:1585:12: error: no member named 'suspended' in 'struct qcom_pcie'
           if (pcie->suspended) {
               ~~~~  ^
   drivers/pci/controller/dwc/pcie-qcom.c:1590:9: error: no member named 'suspended' in 'struct qcom_pcie'
                   pcie->suspended = false;
                   ~~~~  ^
   6 errors generated.


vim +247 drivers/pci/controller/dwc/pcie-qcom.c

   235	
   236	struct qcom_pcie {
   237		struct dw_pcie *pci;
   238		void __iomem *parf;			/* DT parf */
   239		void __iomem *elbi;			/* DT elbi */
   240		void __iomem *mhi;
   241		union qcom_pcie_resources res;
   242		struct phy *phy;
   243		struct gpio_desc *reset;
   244		struct icc_path *icc_mem;
   245		const struct qcom_pcie_cfg *cfg;
 > 246		struct dentry *debugfs;
 > 247	+	bool suspended;
   248	};
   249	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

                 reply	other threads:[~2023-04-11 21:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202304120557.LijMReu1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=johan+linaro@kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=lpieralisi@kernel.org \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox