* [linux-stable-rc:linux-4.19.y 3686/9999] arch/mips/loongson64/common/mem.c:95:5: warning: no previous prototype for '__uncached_access'
@ 2021-04-09 16:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-09 16:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 8014 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
head: e864f43593ccf9180c61738abdf1c1dde091367d
commit: aaa81d9e6523b4fe55aee536ce10bcc1c55b5d0f [3686/9999] MIPS: Disable Loongson MMI instructions for kernel build
config: mips-randconfig-r031-20210409 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 9.3.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/stable/linux-stable-rc.git/commit/?id=aaa81d9e6523b4fe55aee536ce10bcc1c55b5d0f
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.19.y
git checkout aaa81d9e6523b4fe55aee536ce10bcc1c55b5d0f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
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/mips/loongson64/common/mem.c:95:5: warning: no previous prototype for '__uncached_access' [-Wmissing-prototypes]
95 | int __uncached_access(struct file *file, unsigned long addr)
| ^~~~~~~~~~~~~~~~~
--
>> arch/mips/loongson64/common/machtype.c:39:20: warning: no previous prototype for 'mach_prom_init_machtype' [-Wmissing-prototypes]
39 | void __weak __init mach_prom_init_machtype(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
--
In file included from sound/pci/au88x0/au8820.c:3:
sound/pci/au88x0/au88x0_core.c: In function 'vortex_adbdma_setbuffers':
>> sound/pci/au88x0/au88x0.h:39:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
39 | #define hwwrite(x,y,z) writel((z),(x)+(y))
| ^~~~~~~~~~~~~~~~~~~
sound/pci/au88x0/au88x0_core.c:1115:3: note: in expansion of macro 'hwwrite'
1115 | hwwrite(vortex->mmio,
| ^~~~~~~
In file included from sound/pci/au88x0/au8820.c:10:
sound/pci/au88x0/au88x0_core.c:1119:2: note: here
1119 | case 3:
| ^~~~
In file included from sound/pci/au88x0/au8820.c:3:
>> sound/pci/au88x0/au88x0.h:39:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
39 | #define hwwrite(x,y,z) writel((z),(x)+(y))
| ^~~~~~~~~~~~~~~~~~~
sound/pci/au88x0/au88x0_core.c:1122:3: note: in expansion of macro 'hwwrite'
1122 | hwwrite(vortex->mmio,
| ^~~~~~~
In file included from sound/pci/au88x0/au8820.c:10:
sound/pci/au88x0/au88x0_core.c:1126:2: note: here
1126 | case 2:
| ^~~~
In file included from sound/pci/au88x0/au8820.c:3:
>> sound/pci/au88x0/au88x0.h:39:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
39 | #define hwwrite(x,y,z) writel((z),(x)+(y))
| ^~~~~~~~~~~~~~~~~~~
sound/pci/au88x0/au88x0_core.c:1128:3: note: in expansion of macro 'hwwrite'
1128 | hwwrite(vortex->mmio,
| ^~~~~~~
In file included from sound/pci/au88x0/au8820.c:10:
sound/pci/au88x0/au88x0_core.c:1132:2: note: here
1132 | case 1:
| ^~~~
In file included from sound/pci/au88x0/au8820.c:3:
sound/pci/au88x0/au88x0_core.c: In function 'vortex_wtdma_setbuffers':
>> sound/pci/au88x0/au88x0.h:39:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
39 | #define hwwrite(x,y,z) writel((z),(x)+(y))
| ^~~~~~~~~~~~~~~~~~~
sound/pci/au88x0/au88x0_core.c:1391:3: note: in expansion of macro 'hwwrite'
1391 | hwwrite(vortex->mmio, VORTEX_WTDMA_BUFBASE + (wtdma << 4) + 0xc,
| ^~~~~~~
In file included from sound/pci/au88x0/au8820.c:10:
sound/pci/au88x0/au88x0_core.c:1394:2: note: here
1394 | case 3:
| ^~~~
In file included from sound/pci/au88x0/au8820.c:3:
>> sound/pci/au88x0/au88x0.h:39:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
39 | #define hwwrite(x,y,z) writel((z),(x)+(y))
| ^~~~~~~~~~~~~~~~~~~
sound/pci/au88x0/au88x0_core.c:1397:3: note: in expansion of macro 'hwwrite'
1397 | hwwrite(vortex->mmio, VORTEX_WTDMA_BUFBASE + (wtdma << 4) + 0x8,
| ^~~~~~~
In file included from sound/pci/au88x0/au8820.c:10:
sound/pci/au88x0/au88x0_core.c:1400:2: note: here
1400 | case 2:
| ^~~~
In file included from sound/pci/au88x0/au8820.c:3:
>> sound/pci/au88x0/au88x0.h:39:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
39 | #define hwwrite(x,y,z) writel((z),(x)+(y))
| ^~~~~~~~~~~~~~~~~~~
sound/pci/au88x0/au88x0_core.c:1402:3: note: in expansion of macro 'hwwrite'
1402 | hwwrite(vortex->mmio, VORTEX_WTDMA_BUFBASE + (wtdma << 4) + 0x4,
| ^~~~~~~
In file included from sound/pci/au88x0/au8820.c:10:
sound/pci/au88x0/au88x0_core.c:1405:2: note: here
1405 | case 1:
| ^~~~
--
sound/pci/hda/patch_realtek.c: In function 'alc269_suspend':
>> sound/pci/hda/patch_realtek.c:3565:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
3565 | alc5505_dsp_suspend(codec);
| ^
sound/pci/hda/patch_realtek.c: In function 'alc269_resume':
sound/pci/hda/patch_realtek.c:3600:28: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
3600 | alc5505_dsp_resume(codec);
| ^
--
sound/pci/lx6464es/lx_core.c: In function 'lx_interrupt_handle_async_events':
>> sound/pci/lx6464es/lx_core.c:1005:6: warning: variable 'urun_mask' set but not used [-Wunused-but-set-variable]
1005 | u64 urun_mask;
| ^~~~~~~~~
>> sound/pci/lx6464es/lx_core.c:1004:6: warning: variable 'orun_mask' set but not used [-Wunused-but-set-variable]
1004 | u64 orun_mask;
| ^~~~~~~~~
vim +/__uncached_access +95 arch/mips/loongson64/common/mem.c
1a08f1524d2ee4 arch/mips/loongson/common/mem.c Huacai Chen 2014-03-21 93
42d226c7248a28 arch/mips/lemote/lm2e/mem.c Songmao Tian 2007-06-06 94 /* override of arch/mips/mm/cache.c: __uncached_access */
42d226c7248a28 arch/mips/lemote/lm2e/mem.c Songmao Tian 2007-06-06 @95 int __uncached_access(struct file *file, unsigned long addr)
42d226c7248a28 arch/mips/lemote/lm2e/mem.c Songmao Tian 2007-06-06 96 {
6b2f3d1f769be5 arch/mips/loongson/common/mem.c Christoph Hellwig 2009-10-27 97 if (file->f_flags & O_DSYNC)
42d226c7248a28 arch/mips/lemote/lm2e/mem.c Songmao Tian 2007-06-06 98 return 1;
42d226c7248a28 arch/mips/lemote/lm2e/mem.c Songmao Tian 2007-06-06 99
42d226c7248a28 arch/mips/lemote/lm2e/mem.c Songmao Tian 2007-06-06 100 return addr >= __pa(high_memory) ||
85749d24bcf904 arch/mips/loongson/common/mem.c Wu Zhangjin 2009-07-02 101 ((addr >= LOONGSON_MMIO_MEM_START) &&
85749d24bcf904 arch/mips/loongson/common/mem.c Wu Zhangjin 2009-07-02 102 (addr < LOONGSON_MMIO_MEM_END));
42d226c7248a28 arch/mips/lemote/lm2e/mem.c Songmao Tian 2007-06-06 103 }
22f1fdfd62a5f6 arch/mips/loongson/common/mem.c Wu Zhangjin 2009-11-11 104
:::::: The code@line 95 was first introduced by commit
:::::: 42d226c7248a28ff8c478c06b7e9bd9ef5d73574 [MIPS] New files for lemote fulong mini-PC support
:::::: TO: Songmao Tian <tiansm@lemote.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23170 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-09 16:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 16:55 [linux-stable-rc:linux-4.19.y 3686/9999] arch/mips/loongson64/common/mem.c:95:5: warning: no previous prototype for '__uncached_access' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.