* arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write'
@ 2022-03-20 0:07 kernel test robot
2022-03-21 15:34 ` Linus Walleij
0 siblings, 1 reply; 9+ messages in thread
From: kernel test robot @ 2022-03-20 0:07 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
Hi Linus,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 34e047aa16c0123bbae8e2f6df33e5ecc1f56601
commit: d5d9f7ac58ea1041375a028f143ca5784693ea86 ARM/ixp4xx: Make NEED_MACH_IO_H optional
date: 9 months ago
config: arm-buildonly-randconfig-r004-20220320 (https://download.01.org/0day-ci/archive/20220320/202203200849.3dFXVKxt-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=d5d9f7ac58ea1041375a028f143ca5784693ea86
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d5d9f7ac58ea1041375a028f143ca5784693ea86
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/arm/mach-ixp4xx/common-pci.c:94:5: warning: no previous prototype for 'ixp4xx_pci_read_errata' [-Wmissing-prototypes]
94 | int ixp4xx_pci_read_errata(u32 addr, u32 cmd, u32* data)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm/mach-ixp4xx/common-pci.c:121:5: warning: no previous prototype for 'ixp4xx_pci_read_no_errata' [-Wmissing-prototypes]
121 | int ixp4xx_pci_read_no_errata(u32 addr, u32 cmd, u32* data)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write' [-Wmissing-prototypes]
143 | int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data)
| ^~~~~~~~~~~~~~~~
vim +/ixp4xx_pci_write +143 arch/arm/mach-ixp4xx/common-pci.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 142
^1da177e4c3f41 Linus Torvalds 2005-04-16 @143 int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data)
^1da177e4c3f41 Linus Torvalds 2005-04-16 144 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 145 unsigned long flags;
^1da177e4c3f41 Linus Torvalds 2005-04-16 146 int retval = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 147
bd31b85960a7fc Thomas Gleixner 2009-07-03 148 raw_spin_lock_irqsave(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 149
^1da177e4c3f41 Linus Torvalds 2005-04-16 150 *PCI_NP_AD = addr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 151
^1da177e4c3f41 Linus Torvalds 2005-04-16 152 /* set up the write */
^1da177e4c3f41 Linus Torvalds 2005-04-16 153 *PCI_NP_CBE = cmd;
^1da177e4c3f41 Linus Torvalds 2005-04-16 154
^1da177e4c3f41 Linus Torvalds 2005-04-16 155 /* execute the write by writing to NP_WDATA */
^1da177e4c3f41 Linus Torvalds 2005-04-16 156 *PCI_NP_WDATA = data;
^1da177e4c3f41 Linus Torvalds 2005-04-16 157
^1da177e4c3f41 Linus Torvalds 2005-04-16 158 if(check_master_abort())
^1da177e4c3f41 Linus Torvalds 2005-04-16 159 retval = 1;
^1da177e4c3f41 Linus Torvalds 2005-04-16 160
bd31b85960a7fc Thomas Gleixner 2009-07-03 161 raw_spin_unlock_irqrestore(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 162 return retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 163 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 164
:::::: The code at line 143 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write'
2022-03-20 0:07 arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write' kernel test robot
@ 2022-03-21 15:34 ` Linus Walleij
2022-03-22 0:30 ` [kbuild-all] " Chen, Rong A
0 siblings, 1 reply; 9+ messages in thread
From: Linus Walleij @ 2022-03-21 15:34 UTC (permalink / raw)
To: kernel test robot; +Cc: kbuild-all, linux-kernel
On Sun, Mar 20, 2022 at 1:07 AM kernel test robot <lkp@intel.com> wrote:
> FYI, the error/warning still remains.
As I have repeated three times, this file goes away in the next merge window.
I suppose I am talking to an AI, because the hammering seems pretty dumb.
Linus Walleij
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [kbuild-all] Re: arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write'
2022-03-21 15:34 ` Linus Walleij
@ 2022-03-22 0:30 ` Chen, Rong A
0 siblings, 0 replies; 9+ messages in thread
From: Chen, Rong A @ 2022-03-22 0:30 UTC (permalink / raw)
To: Linus Walleij, kernel test robot; +Cc: kbuild-all, linux-kernel
On 3/21/2022 11:34 PM, Linus Walleij wrote:
> On Sun, Mar 20, 2022 at 1:07 AM kernel test robot <lkp@intel.com> wrote:
>
>> FYI, the error/warning still remains.
>
> As I have repeated three times, this file goes away in the next merge window.
>
> I suppose I am talking to an AI, because the hammering seems pretty dumb.
Hi Linus,
Sorry for the noise, the report is repeated almost once a month until
issue fixed, we'll ignore the reports about commit d5d9f7ac58 to avoid
disturbing you.
Best Regards,
Rong Chen
>
> Linus Walleij
> _______________________________________________
> kbuild-all mailing list -- kbuild-all@lists.01.org
> To unsubscribe send an email to kbuild-all-leave@lists.01.org
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write'
2022-02-17 12:23 kernel test robot
@ 2022-02-19 0:41 ` Linus Walleij
0 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2022-02-19 0:41 UTC (permalink / raw)
To: kernel test robot; +Cc: kbuild-all, linux-kernel
On Thu, Feb 17, 2022 at 1:24 PM kernel test robot <lkp@intel.com> wrote:
>
> Hi Linus,
>
> FYI, the error/warning still remains.
A pull request is pending to delete this entire file.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 9+ messages in thread
* arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write'
@ 2022-02-17 12:23 kernel test robot
2022-02-19 0:41 ` Linus Walleij
0 siblings, 1 reply; 9+ messages in thread
From: kernel test robot @ 2022-02-17 12:23 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
Hi Linus,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f71077a4d84bbe8c7b91b7db7c4ef815755ac5e3
commit: d5d9f7ac58ea1041375a028f143ca5784693ea86 ARM/ixp4xx: Make NEED_MACH_IO_H optional
date: 8 months ago
config: arm-randconfig-r012-20220217 (https://download.01.org/0day-ci/archive/20220217/202202172055.BVOB1ugQ-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=d5d9f7ac58ea1041375a028f143ca5784693ea86
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d5d9f7ac58ea1041375a028f143ca5784693ea86
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/arm/mach-ixp4xx/common-pci.c:94:5: warning: no previous prototype for 'ixp4xx_pci_read_errata' [-Wmissing-prototypes]
94 | int ixp4xx_pci_read_errata(u32 addr, u32 cmd, u32* data)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm/mach-ixp4xx/common-pci.c:121:5: warning: no previous prototype for 'ixp4xx_pci_read_no_errata' [-Wmissing-prototypes]
121 | int ixp4xx_pci_read_no_errata(u32 addr, u32 cmd, u32* data)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write' [-Wmissing-prototypes]
143 | int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data)
| ^~~~~~~~~~~~~~~~
vim +/ixp4xx_pci_write +143 arch/arm/mach-ixp4xx/common-pci.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 142
^1da177e4c3f41 Linus Torvalds 2005-04-16 @143 int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data)
^1da177e4c3f41 Linus Torvalds 2005-04-16 144 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 145 unsigned long flags;
^1da177e4c3f41 Linus Torvalds 2005-04-16 146 int retval = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 147
bd31b85960a7fc Thomas Gleixner 2009-07-03 148 raw_spin_lock_irqsave(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 149
^1da177e4c3f41 Linus Torvalds 2005-04-16 150 *PCI_NP_AD = addr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 151
^1da177e4c3f41 Linus Torvalds 2005-04-16 152 /* set up the write */
^1da177e4c3f41 Linus Torvalds 2005-04-16 153 *PCI_NP_CBE = cmd;
^1da177e4c3f41 Linus Torvalds 2005-04-16 154
^1da177e4c3f41 Linus Torvalds 2005-04-16 155 /* execute the write by writing to NP_WDATA */
^1da177e4c3f41 Linus Torvalds 2005-04-16 156 *PCI_NP_WDATA = data;
^1da177e4c3f41 Linus Torvalds 2005-04-16 157
^1da177e4c3f41 Linus Torvalds 2005-04-16 158 if(check_master_abort())
^1da177e4c3f41 Linus Torvalds 2005-04-16 159 retval = 1;
^1da177e4c3f41 Linus Torvalds 2005-04-16 160
bd31b85960a7fc Thomas Gleixner 2009-07-03 161 raw_spin_unlock_irqrestore(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 162 return retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 163 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 164
:::::: The code at line 143 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write'
2022-01-15 20:32 kernel test robot
@ 2022-01-29 1:17 ` Linus Walleij
0 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2022-01-29 1:17 UTC (permalink / raw)
To: kernel test robot; +Cc: kbuild-all, linux-kernel
On Sat, Jan 15, 2022 at 9:33 PM kernel test robot <lkp@intel.com> wrote:
> FYI, the error/warning still remains.
This driver is getting deleted in this kernel cycle.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 9+ messages in thread
* arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write'
@ 2022-01-15 20:32 kernel test robot
2022-01-29 1:17 ` Linus Walleij
0 siblings, 1 reply; 9+ messages in thread
From: kernel test robot @ 2022-01-15 20:32 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
Hi Linus,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a33f5c380c4bd3fa5278d690421b72052456d9fe
commit: d5d9f7ac58ea1041375a028f143ca5784693ea86 ARM/ixp4xx: Make NEED_MACH_IO_H optional
date: 7 months ago
config: arm-randconfig-r002-20220115 (https://download.01.org/0day-ci/archive/20220116/202201160420.v9oG29Pi-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=d5d9f7ac58ea1041375a028f143ca5784693ea86
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d5d9f7ac58ea1041375a028f143ca5784693ea86
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/arm/mach-ixp4xx/common-pci.c:94:5: warning: no previous prototype for 'ixp4xx_pci_read_errata' [-Wmissing-prototypes]
94 | int ixp4xx_pci_read_errata(u32 addr, u32 cmd, u32* data)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm/mach-ixp4xx/common-pci.c:121:5: warning: no previous prototype for 'ixp4xx_pci_read_no_errata' [-Wmissing-prototypes]
121 | int ixp4xx_pci_read_no_errata(u32 addr, u32 cmd, u32* data)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write' [-Wmissing-prototypes]
143 | int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data)
| ^~~~~~~~~~~~~~~~
vim +/ixp4xx_pci_write +143 arch/arm/mach-ixp4xx/common-pci.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 142
^1da177e4c3f41 Linus Torvalds 2005-04-16 @143 int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data)
^1da177e4c3f41 Linus Torvalds 2005-04-16 144 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 145 unsigned long flags;
^1da177e4c3f41 Linus Torvalds 2005-04-16 146 int retval = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 147
bd31b85960a7fc Thomas Gleixner 2009-07-03 148 raw_spin_lock_irqsave(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 149
^1da177e4c3f41 Linus Torvalds 2005-04-16 150 *PCI_NP_AD = addr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 151
^1da177e4c3f41 Linus Torvalds 2005-04-16 152 /* set up the write */
^1da177e4c3f41 Linus Torvalds 2005-04-16 153 *PCI_NP_CBE = cmd;
^1da177e4c3f41 Linus Torvalds 2005-04-16 154
^1da177e4c3f41 Linus Torvalds 2005-04-16 155 /* execute the write by writing to NP_WDATA */
^1da177e4c3f41 Linus Torvalds 2005-04-16 156 *PCI_NP_WDATA = data;
^1da177e4c3f41 Linus Torvalds 2005-04-16 157
^1da177e4c3f41 Linus Torvalds 2005-04-16 158 if(check_master_abort())
^1da177e4c3f41 Linus Torvalds 2005-04-16 159 retval = 1;
^1da177e4c3f41 Linus Torvalds 2005-04-16 160
bd31b85960a7fc Thomas Gleixner 2009-07-03 161 raw_spin_unlock_irqrestore(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 162 return retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 163 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 164
:::::: The code at line 143 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write'
@ 2021-11-27 19:57 kernel test robot
0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2021-11-27 19:57 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
Hi Linus,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c5c17547b778975b3d83a73c8d84e8fb5ecf3ba5
commit: d5d9f7ac58ea1041375a028f143ca5784693ea86 ARM/ixp4xx: Make NEED_MACH_IO_H optional
date: 5 months ago
config: arm-ixp4xx_defconfig (https://download.01.org/0day-ci/archive/20211128/202111280310.yf3ykspL-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=d5d9f7ac58ea1041375a028f143ca5784693ea86
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d5d9f7ac58ea1041375a028f143ca5784693ea86
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/arm/mach-ixp4xx/common-pci.c:94:5: warning: no previous prototype for 'ixp4xx_pci_read_errata' [-Wmissing-prototypes]
94 | int ixp4xx_pci_read_errata(u32 addr, u32 cmd, u32* data)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm/mach-ixp4xx/common-pci.c:121:5: warning: no previous prototype for 'ixp4xx_pci_read_no_errata' [-Wmissing-prototypes]
121 | int ixp4xx_pci_read_no_errata(u32 addr, u32 cmd, u32* data)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write' [-Wmissing-prototypes]
143 | int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data)
| ^~~~~~~~~~~~~~~~
vim +/ixp4xx_pci_write +143 arch/arm/mach-ixp4xx/common-pci.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 142
^1da177e4c3f41 Linus Torvalds 2005-04-16 @143 int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data)
^1da177e4c3f41 Linus Torvalds 2005-04-16 144 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 145 unsigned long flags;
^1da177e4c3f41 Linus Torvalds 2005-04-16 146 int retval = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 147
bd31b85960a7fc Thomas Gleixner 2009-07-03 148 raw_spin_lock_irqsave(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 149
^1da177e4c3f41 Linus Torvalds 2005-04-16 150 *PCI_NP_AD = addr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 151
^1da177e4c3f41 Linus Torvalds 2005-04-16 152 /* set up the write */
^1da177e4c3f41 Linus Torvalds 2005-04-16 153 *PCI_NP_CBE = cmd;
^1da177e4c3f41 Linus Torvalds 2005-04-16 154
^1da177e4c3f41 Linus Torvalds 2005-04-16 155 /* execute the write by writing to NP_WDATA */
^1da177e4c3f41 Linus Torvalds 2005-04-16 156 *PCI_NP_WDATA = data;
^1da177e4c3f41 Linus Torvalds 2005-04-16 157
^1da177e4c3f41 Linus Torvalds 2005-04-16 158 if(check_master_abort())
^1da177e4c3f41 Linus Torvalds 2005-04-16 159 retval = 1;
^1da177e4c3f41 Linus Torvalds 2005-04-16 160
bd31b85960a7fc Thomas Gleixner 2009-07-03 161 raw_spin_unlock_irqrestore(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 162 return retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 163 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 164
:::::: The code at line 143 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write'
@ 2021-11-10 9:22 kernel test robot
0 siblings, 0 replies; 9+ messages in thread
From: kernel test robot @ 2021-11-10 9:22 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 7303 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: cb690f5238d71f543f4ce874aa59237cf53a877c
commit: d5d9f7ac58ea1041375a028f143ca5784693ea86 ARM/ixp4xx: Make NEED_MACH_IO_H optional
date: 5 months ago
config: arm-randconfig-r011-20211018 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=d5d9f7ac58ea1041375a028f143ca5784693ea86
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d5d9f7ac58ea1041375a028f143ca5784693ea86
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/arm/mach-ixp4xx/common-pci.c:94:5: warning: no previous prototype for 'ixp4xx_pci_read_errata' [-Wmissing-prototypes]
94 | int ixp4xx_pci_read_errata(u32 addr, u32 cmd, u32* data)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm/mach-ixp4xx/common-pci.c:121:5: warning: no previous prototype for 'ixp4xx_pci_read_no_errata' [-Wmissing-prototypes]
121 | int ixp4xx_pci_read_no_errata(u32 addr, u32 cmd, u32* data)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write' [-Wmissing-prototypes]
143 | int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data)
| ^~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for QCOM_SCM
Depends on (ARM || ARM64) && HAVE_ARM_SMCCC
Selected by
- ARM_QCOM_SPM_CPUIDLE && CPU_IDLE && (ARM || ARM64) && (ARCH_QCOM || COMPILE_TEST && !ARM64 && MMU
vim +/ixp4xx_pci_write +143 arch/arm/mach-ixp4xx/common-pci.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 93
^1da177e4c3f41 Linus Torvalds 2005-04-16 @94 int ixp4xx_pci_read_errata(u32 addr, u32 cmd, u32* data)
^1da177e4c3f41 Linus Torvalds 2005-04-16 95 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 96 unsigned long flags;
^1da177e4c3f41 Linus Torvalds 2005-04-16 97 int retval = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 98 int i;
^1da177e4c3f41 Linus Torvalds 2005-04-16 99
bd31b85960a7fc Thomas Gleixner 2009-07-03 100 raw_spin_lock_irqsave(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 101
^1da177e4c3f41 Linus Torvalds 2005-04-16 102 *PCI_NP_AD = addr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 103
^1da177e4c3f41 Linus Torvalds 2005-04-16 104 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 105 * PCI workaround - only works if NP PCI space reads have
^1da177e4c3f41 Linus Torvalds 2005-04-16 106 * no side effects!!! Read 8 times. last one will be good.
^1da177e4c3f41 Linus Torvalds 2005-04-16 107 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 108 for (i = 0; i < 8; i++) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 109 *PCI_NP_CBE = cmd;
^1da177e4c3f41 Linus Torvalds 2005-04-16 110 *data = *PCI_NP_RDATA;
^1da177e4c3f41 Linus Torvalds 2005-04-16 111 *data = *PCI_NP_RDATA;
^1da177e4c3f41 Linus Torvalds 2005-04-16 112 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 113
^1da177e4c3f41 Linus Torvalds 2005-04-16 114 if(check_master_abort())
^1da177e4c3f41 Linus Torvalds 2005-04-16 115 retval = 1;
^1da177e4c3f41 Linus Torvalds 2005-04-16 116
bd31b85960a7fc Thomas Gleixner 2009-07-03 117 raw_spin_unlock_irqrestore(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 118 return retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 119 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 120
^1da177e4c3f41 Linus Torvalds 2005-04-16 121 int ixp4xx_pci_read_no_errata(u32 addr, u32 cmd, u32* data)
^1da177e4c3f41 Linus Torvalds 2005-04-16 122 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 123 unsigned long flags;
^1da177e4c3f41 Linus Torvalds 2005-04-16 124 int retval = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 125
bd31b85960a7fc Thomas Gleixner 2009-07-03 126 raw_spin_lock_irqsave(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 127
^1da177e4c3f41 Linus Torvalds 2005-04-16 128 *PCI_NP_AD = addr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 129
^1da177e4c3f41 Linus Torvalds 2005-04-16 130 /* set up and execute the read */
^1da177e4c3f41 Linus Torvalds 2005-04-16 131 *PCI_NP_CBE = cmd;
^1da177e4c3f41 Linus Torvalds 2005-04-16 132
^1da177e4c3f41 Linus Torvalds 2005-04-16 133 /* the result of the read is now in NP_RDATA */
^1da177e4c3f41 Linus Torvalds 2005-04-16 134 *data = *PCI_NP_RDATA;
^1da177e4c3f41 Linus Torvalds 2005-04-16 135
^1da177e4c3f41 Linus Torvalds 2005-04-16 136 if(check_master_abort())
^1da177e4c3f41 Linus Torvalds 2005-04-16 137 retval = 1;
^1da177e4c3f41 Linus Torvalds 2005-04-16 138
bd31b85960a7fc Thomas Gleixner 2009-07-03 139 raw_spin_unlock_irqrestore(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 140 return retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 141 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 142
^1da177e4c3f41 Linus Torvalds 2005-04-16 @143 int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data)
^1da177e4c3f41 Linus Torvalds 2005-04-16 144 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 145 unsigned long flags;
^1da177e4c3f41 Linus Torvalds 2005-04-16 146 int retval = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 147
bd31b85960a7fc Thomas Gleixner 2009-07-03 148 raw_spin_lock_irqsave(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 149
^1da177e4c3f41 Linus Torvalds 2005-04-16 150 *PCI_NP_AD = addr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 151
^1da177e4c3f41 Linus Torvalds 2005-04-16 152 /* set up the write */
^1da177e4c3f41 Linus Torvalds 2005-04-16 153 *PCI_NP_CBE = cmd;
^1da177e4c3f41 Linus Torvalds 2005-04-16 154
^1da177e4c3f41 Linus Torvalds 2005-04-16 155 /* execute the write by writing to NP_WDATA */
^1da177e4c3f41 Linus Torvalds 2005-04-16 156 *PCI_NP_WDATA = data;
^1da177e4c3f41 Linus Torvalds 2005-04-16 157
^1da177e4c3f41 Linus Torvalds 2005-04-16 158 if(check_master_abort())
^1da177e4c3f41 Linus Torvalds 2005-04-16 159 retval = 1;
^1da177e4c3f41 Linus Torvalds 2005-04-16 160
bd31b85960a7fc Thomas Gleixner 2009-07-03 161 raw_spin_unlock_irqrestore(&ixp4xx_pci_lock, flags);
^1da177e4c3f41 Linus Torvalds 2005-04-16 162 return retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 163 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 164
:::::: The code at line 143 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34628 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-03-22 0:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-20 0:07 arch/arm/mach-ixp4xx/common-pci.c:143:5: warning: no previous prototype for 'ixp4xx_pci_write' kernel test robot
2022-03-21 15:34 ` Linus Walleij
2022-03-22 0:30 ` [kbuild-all] " Chen, Rong A
-- strict thread matches above, loose matches on Subject: below --
2022-02-17 12:23 kernel test robot
2022-02-19 0:41 ` Linus Walleij
2022-01-15 20:32 kernel test robot
2022-01-29 1:17 ` Linus Walleij
2021-11-27 19:57 kernel test robot
2021-11-10 9:22 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).