[peterz-queue:objtool/retpoline 10/15] arch/x86/kernel/msr.o: warning: objtool: can't find symbol containing .fixup+0x0
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git objtool/retpoline
head: 72260c7ae8c8e1265dbd20213ce67ddfaf76df8e
commit: 7ca819dd30475f854ca777cf3834481b3e820c6a [10/15] objtool: Extract elf_symbol_add()
config: x86_64-randconfig-r026-20210318 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue objtool/retpoline
git checkout 7ca819dd30475f854ca777cf3834481b3e820c6a
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/msr.o: warning: objtool: can't find symbol containing .fixup+0x0
--
>> arch/x86/kernel/jailhouse.o: warning: objtool: can't find symbol containing .fixup+0x0
--
>> drivers/thermal/intel/intel_soc_dts_iosf.o: warning: objtool: can't find symbol containing .fixup+0x0
--
>> drivers/platform/x86/intel_speed_select_if/isst_if_common.o: warning: objtool: can't find symbol containing .fixup+0x0
--
>> drivers/platform/x86/intel_speed_select_if/isst_if_mbox_msr.o: warning: objtool: can't find symbol containing .fixup+0x0
--
>> arch/x86/kernel/apic/x2apic_phys.o: warning: objtool: can't find symbol containing .fixup+0x0
--
>> arch/x86/kernel/apic/x2apic_cluster.o: warning: objtool: can't find symbol containing .fixup+0x0
--
>> arch/x86/kernel/apic/vector.o: warning: objtool: can't find symbol containing .fixup+0x0
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [PATCH] mm/slab_common: provide "slab_merge" option for !IS_ENABLED(CONFIG_SLAB_MERGE_DEFAULT) builds
by kernel test robot
Hi Rafael,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on hnaz-linux-mm/master]
url: https://github.com/0day-ci/linux/commits/Rafael-Aquini/mm-slab_common-pro...
base: https://github.com/hnaz/linux-mm master
config: m68k-allmodconfig (attached as .config)
compiler: m68k-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://github.com/0day-ci/linux/commit/d6cb7528eaf0afbcb48bee452f7fa3959...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Rafael-Aquini/mm-slab_common-provide-slab_merge-option-for-IS_ENABLED-CONFIG_SLAB_MERGE_DEFAULT-builds/20210320-032434
git checkout d6cb7528eaf0afbcb48bee452f7fa395938bd559
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/asm-generic/bug.h:5,
from arch/m68k/include/asm/bug.h:32,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/gfp.h:5,
from include/linux/slab.h:15,
from mm/slab_common.c:7:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/m68k/include/asm/page_mm.h:169:49: warning: ordered comparison of pointer with null pointer [-Wextra]
169 | #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory)
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
143 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
In file included from arch/m68k/include/asm/page.h:60,
from arch/m68k/include/asm/thread_info.h:6,
from include/linux/thread_info.h:38,
from include/asm-generic/preempt.h:5,
from ./arch/m68k/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:6,
from include/linux/slab.h:15,
from mm/slab_common.c:7:
mm/internal.h: In function 'mem_map_next':
arch/m68k/include/asm/page_mm.h:169:49: warning: ordered comparison of pointer with null pointer [-Wextra]
169 | #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory)
| ^~
arch/m68k/include/asm/page_mm.h:170:25: note: in expansion of macro 'virt_addr_valid'
170 | #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn))
| ^~~~~~~~~~~~~~~
mm/internal.h:456:8: note: in expansion of macro 'pfn_valid'
456 | if (!pfn_valid(pfn))
| ^~~~~~~~~
In file included from include/linux/printk.h:6,
from include/linux/kernel.h:15,
from include/asm-generic/bug.h:20,
from arch/m68k/include/asm/bug.h:32,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/gfp.h:5,
from include/linux/slab.h:15,
from mm/slab_common.c:7:
mm/slab_common.c: At top level:
>> include/linux/init.h:254:20: error: redefinition of '__setup_str_setup_slab_nomerge'
254 | static const char __setup_str_##unique_id[] __initconst \
| ^~~~~~~~~~~~
include/linux/init.h:262:2: note: in expansion of macro '__setup_param'
262 | __setup_param(str, fn, fn, 0)
| ^~~~~~~~~~~~~
mm/slab_common.c:84:1: note: in expansion of macro '__setup'
84 | __setup("slab_merge", setup_slab_nomerge);
| ^~~~~~~
include/linux/init.h:254:20: note: previous definition of '__setup_str_setup_slab_nomerge' was here
254 | static const char __setup_str_##unique_id[] __initconst \
| ^~~~~~~~~~~~
include/linux/init.h:262:2: note: in expansion of macro '__setup_param'
262 | __setup_param(str, fn, fn, 0)
| ^~~~~~~~~~~~~
mm/slab_common.c:83:1: note: in expansion of macro '__setup'
83 | __setup("slab_nomerge", setup_slab_nomerge);
| ^~~~~~~
>> include/linux/init.h:256:33: error: redefinition of '__setup_setup_slab_nomerge'
256 | static struct obs_kernel_param __setup_##unique_id \
| ^~~~~~~~
include/linux/init.h:262:2: note: in expansion of macro '__setup_param'
262 | __setup_param(str, fn, fn, 0)
| ^~~~~~~~~~~~~
mm/slab_common.c:84:1: note: in expansion of macro '__setup'
84 | __setup("slab_merge", setup_slab_nomerge);
| ^~~~~~~
include/linux/init.h:256:33: note: previous definition of '__setup_setup_slab_nomerge' was here
256 | static struct obs_kernel_param __setup_##unique_id \
| ^~~~~~~~
include/linux/init.h:262:2: note: in expansion of macro '__setup_param'
262 | __setup_param(str, fn, fn, 0)
| ^~~~~~~~~~~~~
mm/slab_common.c:83:1: note: in expansion of macro '__setup'
83 | __setup("slab_nomerge", setup_slab_nomerge);
| ^~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES
Depends on DISCONTIGMEM || NUMA
Selected by
- SINGLE_MEMORY_CHUNK && MMU
vim +/__setup_setup_slab_nomerge +256 include/linux/init.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 246
^1da177e4c3f41 Linus Torvalds 2005-04-16 247 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 248 * Only for really core code. See moduleparam.h for the normal way.
^1da177e4c3f41 Linus Torvalds 2005-04-16 249 *
^1da177e4c3f41 Linus Torvalds 2005-04-16 250 * Force the alignment so the compiler doesn't space elements of the
^1da177e4c3f41 Linus Torvalds 2005-04-16 251 * obs_kernel_param "array" too far apart in .init.setup.
^1da177e4c3f41 Linus Torvalds 2005-04-16 252 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 253 #define __setup_param(str, unique_id, fn, early) \
fd6c3a8dc44329 Jan Beulich 2009-03-12 @254 static const char __setup_str_##unique_id[] __initconst \
fd6c3a8dc44329 Jan Beulich 2009-03-12 255 __aligned(1) = str; \
^1da177e4c3f41 Linus Torvalds 2005-04-16 @256 static struct obs_kernel_param __setup_##unique_id \
3ff6eecca4e5c4 Adrian Bunk 2008-01-24 257 __used __section(.init.setup) \
^1da177e4c3f41 Linus Torvalds 2005-04-16 258 __attribute__((aligned((sizeof(long))))) \
^1da177e4c3f41 Linus Torvalds 2005-04-16 259 = { __setup_str_##unique_id, fn, early }
^1da177e4c3f41 Linus Torvalds 2005-04-16 260
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[gfs2:for-next.radical6m 19/27] fs/gfs2/glock.c:583:22: warning: variable 'gh' set but not used
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next.radical6m
head: ade69cc95ecf986b020e19bb73214d45eeda8fd1
commit: 005282b7d34999f81185091c78b4d90a1920cb6c [19/27] gfs2: Introduce new GL_ST_XMOTE_DENIED state
config: parisc-randconfig-r006-20210318 (attached as .config)
compiler: hppa-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/gfs2/linux-gfs2.git/commi...
git remote add gfs2 https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
git fetch --no-tags gfs2 for-next.radical6m
git checkout 005282b7d34999f81185091c78b4d90a1920cb6c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
fs/gfs2/glock.c: In function 'state_finish_xmote':
>> fs/gfs2/glock.c:583:22: warning: variable 'gh' set but not used [-Wunused-but-set-variable]
583 | struct gfs2_holder *gh;
| ^~
vim +/gh +583 fs/gfs2/glock.c
573
574 /**
575 * state_finish_xmote - The DLM has replied to one of our lock requests
576 * @gl: The glock
577 *
578 */
579
580 static void state_finish_xmote(struct gfs2_glock *gl)
581 {
582 const struct gfs2_glock_operations *glops = gl->gl_ops;
> 583 struct gfs2_holder *gh;
584 unsigned int state = gl->gl_req & LM_OUT_ST_MASK;
585 int rv;
586
587 trace_gfs2_glock_state_change(gl, state);
588 state_change(gl, state);
589
590 /* Demote to UN request arrived during demote to SH or DF */
591 if (test_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags) &&
592 state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED)
593 gl->gl_target = LM_ST_UNLOCKED;
594
595 /* Check for state != intended state */
596 if (unlikely(state != gl->gl_target)) {
597 next_state(gl, GL_ST_XMOTE_DENIED);
598 return;
599 }
600
601 /* Fast path - we got what we asked for */
602 if (test_and_clear_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags))
603 gfs2_demote_wake(gl);
604 if (state != LM_ST_UNLOCKED) {
605 if (glops->go_xmote_bh) {
606 gh = find_first_waiter(gl);
607 spin_unlock(&gl->gl_lockref.lock);
608 rv = glops->go_xmote_bh(gl);
609 spin_lock(&gl->gl_lockref.lock);
610 if (rv) {
611 do_error(gl, rv);
612 goto out;
613 }
614 }
615 rv = do_promote(gl);
616 if (rv == 2)
617 return;
618 }
619 out:
620 clear_bit(GLF_LOCK, &gl->gl_flags);
621 }
622
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [PATCH] mm/slab_common: provide "slab_merge" option for !IS_ENABLED(CONFIG_SLAB_MERGE_DEFAULT) builds
by kernel test robot
Hi Rafael,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on hnaz-linux-mm/master]
url: https://github.com/0day-ci/linux/commits/Rafael-Aquini/mm-slab_common-pro...
base: https://github.com/hnaz/linux-mm master
config: powerpc-randconfig-r004-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/0day-ci/linux/commit/d6cb7528eaf0afbcb48bee452f7fa3959...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Rafael-Aquini/mm-slab_common-provide-slab_merge-option-for-IS_ENABLED-CONFIG_SLAB_MERGE_DEFAULT-builds/20210320-032434
git checkout d6cb7528eaf0afbcb48bee452f7fa395938bd559
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
__do_insb
^
arch/powerpc/include/asm/io.h:541:56: note: expanded from macro '__do_insb'
#define __do_insb(p, b, n) readsb((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from mm/slab_common.c:11:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:45:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insw, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:9:1: note: expanded from here
__do_insw
^
arch/powerpc/include/asm/io.h:542:56: note: expanded from macro '__do_insw'
#define __do_insw(p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from mm/slab_common.c:11:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:47:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:11:1: note: expanded from here
__do_insl
^
arch/powerpc/include/asm/io.h:543:56: note: expanded from macro '__do_insl'
#define __do_insl(p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from mm/slab_common.c:11:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:49:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:13:1: note: expanded from here
__do_outsb
^
arch/powerpc/include/asm/io.h:544:58: note: expanded from macro '__do_outsb'
#define __do_outsb(p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from mm/slab_common.c:11:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:51:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:15:1: note: expanded from here
__do_outsw
^
arch/powerpc/include/asm/io.h:545:58: note: expanded from macro '__do_outsw'
#define __do_outsw(p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from mm/slab_common.c:11:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:10:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:604:
arch/powerpc/include/asm/io-defs.h:53:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:601:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:17:1: note: expanded from here
__do_outsl
^
arch/powerpc/include/asm/io.h:546:58: note: expanded from macro '__do_outsl'
#define __do_outsl(p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
>> mm/slab_common.c:84:1: error: redefinition of '__setup_str_setup_slab_nomerge'
__setup("slab_merge", setup_slab_nomerge);
^
include/linux/init.h:262:2: note: expanded from macro '__setup'
__setup_param(str, fn, fn, 0)
^
include/linux/init.h:254:20: note: expanded from macro '__setup_param'
static const char __setup_str_##unique_id[] __initconst \
^
<scratch space>:124:1: note: expanded from here
__setup_str_setup_slab_nomerge
^
mm/slab_common.c:83:1: note: previous definition is here
__setup("slab_nomerge", setup_slab_nomerge);
^
include/linux/init.h:262:2: note: expanded from macro '__setup'
__setup_param(str, fn, fn, 0)
^
include/linux/init.h:254:20: note: expanded from macro '__setup_param'
static const char __setup_str_##unique_id[] __initconst \
^
<scratch space>:119:1: note: expanded from here
__setup_str_setup_slab_nomerge
^
12 warnings and 1 error generated.
vim +/__setup_str_setup_slab_nomerge +84 mm/slab_common.c
82
83 __setup("slab_nomerge", setup_slab_nomerge);
> 84 __setup("slab_merge", setup_slab_nomerge);
85
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[thierryreding:for-5.13/work 41/49] drivers/gpu/drm/tegra/dc.c:939:13: error: use of undeclared identifier 'CURSOR_COMPOSITION_MODE_XORG'
by kernel test robot
tree: https://github.com/thierryreding/linux for-5.13/work
head: 009ea3ee74a12859073a37d2ef800fa154ff7705
commit: bbc118a5ae5360b4b9f62107d199ed6473f1cd4e [41/49] drm/tegra: dc: Implement hardware cursor on Tegra186 and later
config: arm-randconfig-r011-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/thierryreding/linux/commit/bbc118a5ae5360b4b9f62107d19...
git remote add thierryreding https://github.com/thierryreding/linux
git fetch --no-tags thierryreding for-5.13/work
git checkout bbc118a5ae5360b4b9f62107d199ed6473f1cd4e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/tegra/dc.c:10:
include/linux/iommu.h:1064:36: error: redefinition of 'dev_iommu_fwspec_get'
static inline struct iommu_fwspec *dev_iommu_fwspec_get(struct device *dev)
^
include/linux/iommu.h:982:36: note: previous definition is here
static inline struct iommu_fwspec *dev_iommu_fwspec_get(struct device *dev)
^
>> drivers/gpu/drm/tegra/dc.c:939:13: error: use of undeclared identifier 'CURSOR_COMPOSITION_MODE_XORG'
value &= ~CURSOR_COMPOSITION_MODE_XORG;
^
2 errors generated.
vim +/CURSOR_COMPOSITION_MODE_XORG +939 drivers/gpu/drm/tegra/dc.c
928
929 /* enable cursor and set blend mode */
930 value = tegra_dc_readl(dc, DC_DISP_DISP_WIN_OPTIONS);
931 value |= CURSOR_ENABLE;
932 tegra_dc_writel(dc, value, DC_DISP_DISP_WIN_OPTIONS);
933
934 value = tegra_dc_readl(dc, DC_DISP_BLEND_CURSOR_CONTROL);
935 value &= ~CURSOR_DST_BLEND_MASK;
936 value &= ~CURSOR_SRC_BLEND_MASK;
937
938 if (dc->soc->has_nvdisplay)
> 939 value &= ~CURSOR_COMPOSITION_MODE_XORG;
940 else
941 value |= CURSOR_MODE_NORMAL;
942
943 value |= CURSOR_DST_BLEND_NEG_K1_TIMES_SRC;
944 value |= CURSOR_SRC_BLEND_K1_TIMES_SRC;
945 value |= CURSOR_ALPHA;
946 tegra_dc_writel(dc, value, DC_DISP_BLEND_CURSOR_CONTROL);
947
948 /* nvdisplay relies on software for clipping */
949 if (dc->soc->has_nvdisplay) {
950 unsigned int i, j, w, h;
951
952 x = new_state->dst.x1;
953 y = new_state->dst.y1;
954
955 i = new_state->src.x1 >> 16;
956 j = new_state->src.y1 >> 16;
957
958 value = ((j & tegra->vmask) << 16) | (i & tegra->hmask);
959 tegra_dc_writel(dc, value, DC_DISP_PCALC_HEAD_SET_CROPPED_POINT_IN_CURSOR);
960
961 w = (new_state->src.x2 - new_state->src.x1) >> 16;
962 h = (new_state->src.y2 - new_state->src.y1) >> 16;
963
964 value = ((h & tegra->vmask) << 16) | (w & tegra->hmask);
965 tegra_dc_writel(dc, value, DC_DISP_PCALC_HEAD_SET_CROPPED_SIZE_IN_CURSOR);
966 } else {
967 x = new_state->crtc_x;
968 y = new_state->crtc_y;
969 }
970
971 /* position the cursor */
972 value = ((y & tegra->vmask) << 16) | (x & tegra->hmask);
973 tegra_dc_writel(dc, value, DC_DISP_CURSOR_POSITION);
974 }
975
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[mhiramat:kprobes/kretprobe-stackfix-v3 7/11] arch/ia64/include/asm/ptrace.h:77:16: error: dereferencing pointer to incomplete type 'struct ia64_psr'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mhiramat/linux.git kprobes/kretprobe-stackfix-v3
head: 89826b1f814b340c1b78d896da569ff693ab2c51
commit: cdcac77b353402a1fbca66038032f33e5ecfc028 [7/11] ia64: Add instruction_pointer_set() API
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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/mhiramat/linux.git/commit...
git remote add mhiramat https://git.kernel.org/pub/scm/linux/kernel/git/mhiramat/linux.git
git fetch --no-tags mhiramat kprobes/kretprobe-stackfix-v3
git checkout cdcac77b353402a1fbca66038032f33e5ecfc028
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/ia64/include/asm/processor.h:20,
from arch/ia64/include/asm/thread_info.h:12,
from include/linux/thread_info.h:58,
from include/asm-generic/preempt.h:5,
from ./arch/ia64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/rcupdate.h:27,
from include/linux/rculist.h:11,
from include/linux/sched/signal.h:5,
from arch/ia64/kernel/asm-offsets.c:10:
arch/ia64/include/asm/ptrace.h: In function 'instruction_pointer_set':
>> arch/ia64/include/asm/ptrace.h:77:16: error: dereferencing pointer to incomplete type 'struct ia64_psr'
77 | ia64_psr(regs)->ri = (val & 0xf);
| ^~
arch/ia64/kernel/asm-offsets.c: At top level:
arch/ia64/kernel/asm-offsets.c:23:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
23 | void foo(void)
| ^~~
--
In file included from arch/ia64/include/asm/processor.h:20,
from arch/ia64/include/asm/thread_info.h:12,
from include/linux/thread_info.h:58,
from include/asm-generic/preempt.h:5,
from ./arch/ia64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/rcupdate.h:27,
from include/linux/rculist.h:11,
from include/linux/sched/signal.h:5,
from arch/ia64/kernel/asm-offsets.c:10:
arch/ia64/include/asm/ptrace.h: In function 'instruction_pointer_set':
>> arch/ia64/include/asm/ptrace.h:77:16: error: dereferencing pointer to incomplete type 'struct ia64_psr'
77 | ia64_psr(regs)->ri = (val & 0xf);
| ^~
arch/ia64/kernel/asm-offsets.c: At top level:
arch/ia64/kernel/asm-offsets.c:23:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
23 | void foo(void)
| ^~~
make[2]: *** [scripts/Makefile.build:116: arch/ia64/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1235: prepare0] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:215: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
WARNING: unmet direct dependencies detected for FRAME_POINTER
Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
Selected by
- FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
In file included from arch/ia64/include/asm/processor.h:20,
from arch/ia64/include/asm/thread_info.h:12,
from include/linux/thread_info.h:58,
from include/asm-generic/preempt.h:5,
from ./arch/ia64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/rcupdate.h:27,
from include/linux/rculist.h:11,
from include/linux/sched/signal.h:5,
from arch/ia64/kernel/asm-offsets.c:10:
arch/ia64/include/asm/ptrace.h: In function 'instruction_pointer_set':
>> arch/ia64/include/asm/ptrace.h:77:16: error: dereferencing pointer to incomplete type 'struct ia64_psr'
77 | ia64_psr(regs)->ri = (val & 0xf);
| ^~
arch/ia64/kernel/asm-offsets.c: At top level:
arch/ia64/kernel/asm-offsets.c:23:6: warning: no previous prototype for 'foo'
23 | void foo(void)
| ^~~
Makefile arch block certs crypto drivers fs include init ipc kernel lib mm net samples scripts security sound source usr virt [scripts/Makefile.build:116: arch/ia64/kernel/asm-offsets.s] Error 1
Target '__build' not remade because of errors.
Makefile arch block certs crypto drivers fs include init ipc kernel lib mm net samples scripts security sound source usr virt [Makefile:1235: prepare0] Error 2
Target 'prepare' not remade because of errors.
make: Makefile arch block certs crypto drivers fs include init ipc kernel lib mm net samples scripts security sound source usr virt [Makefile:215: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for FRAME_POINTER
Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
Selected by
- FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
vim +77 arch/ia64/include/asm/ptrace.h
74
75 static inline void instruction_pointer_set(struct pt_regs *regs, unsigned long val)
76 {
> 77 ia64_psr(regs)->ri = (val & 0xf);
78 regs->cr_iip = (val & ~0xfULL);
79 }
80
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [PATCH v2] kbuild: enforce -Werror=unused-result
by kernel test robot
Hi Olaf,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on kbuild/for-next]
[also build test ERROR on linux/master linus/master v5.12-rc3 next-20210319]
[If your patch is applied to the wrong git tree, kindly drop us a note.
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/Olaf-Hering/kbuild-enforce-Werro...
base: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next
config: alpha-allyesconfig (attached as .config)
compiler: alpha-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://github.com/0day-ci/linux/commit/635ecb94f0f38a005c528c2cddb9fc6f9...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Olaf-Hering/kbuild-enforce-Werror-unused-result/20210319-223913
git checkout 635ecb94f0f38a005c528c2cddb9fc6f9cfab1dc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
fs/binfmt_em86.c: In function 'load_em86':
>> fs/binfmt_em86.c:66:2: error: ignoring return value of 'remove_arg_zero', declared with attribute warn_unused_result [-Werror=unused-result]
66 | remove_arg_zero(bprm);
| ^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/remove_arg_zero +66 fs/binfmt_em86.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 25
71613c3b871c5a Al Viro 2012-10-20 26 static int load_em86(struct linux_binprm *bprm)
^1da177e4c3f41 Linus Torvalds 2005-04-16 27 {
a310dcb7a43f97 Daniel Wagner 2016-08-02 28 const char *i_name, *i_arg;
a310dcb7a43f97 Daniel Wagner 2016-08-02 29 char *interp;
^1da177e4c3f41 Linus Torvalds 2005-04-16 30 struct file * file;
^1da177e4c3f41 Linus Torvalds 2005-04-16 31 int retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 32 struct elfhdr elf_ex;
^1da177e4c3f41 Linus Torvalds 2005-04-16 33
^1da177e4c3f41 Linus Torvalds 2005-04-16 34 /* Make sure this is a Linux/Intel ELF executable... */
^1da177e4c3f41 Linus Torvalds 2005-04-16 35 elf_ex = *((struct elfhdr *)bprm->buf);
^1da177e4c3f41 Linus Torvalds 2005-04-16 36
^1da177e4c3f41 Linus Torvalds 2005-04-16 37 if (memcmp(elf_ex.e_ident, ELFMAG, SELFMAG) != 0)
^1da177e4c3f41 Linus Torvalds 2005-04-16 38 return -ENOEXEC;
^1da177e4c3f41 Linus Torvalds 2005-04-16 39
^1da177e4c3f41 Linus Torvalds 2005-04-16 40 /* First of all, some simple consistency checks */
^1da177e4c3f41 Linus Torvalds 2005-04-16 41 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) ||
^1da177e4c3f41 Linus Torvalds 2005-04-16 42 (!((elf_ex.e_machine == EM_386) || (elf_ex.e_machine == EM_486))) ||
72c2d531920048 Al Viro 2013-09-22 43 !bprm->file->f_op->mmap) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 44 return -ENOEXEC;
^1da177e4c3f41 Linus Torvalds 2005-04-16 45 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 46
51f39a1f0cea1c David Drysdale 2014-12-12 47 /* Need to be able to load the file after exec */
51f39a1f0cea1c David Drysdale 2014-12-12 48 if (bprm->interp_flags & BINPRM_FLAGS_PATH_INACCESSIBLE)
51f39a1f0cea1c David Drysdale 2014-12-12 49 return -ENOENT;
51f39a1f0cea1c David Drysdale 2014-12-12 50
^1da177e4c3f41 Linus Torvalds 2005-04-16 51 /* Unlike in the script case, we don't have to do any hairy
^1da177e4c3f41 Linus Torvalds 2005-04-16 52 * parsing to find our interpreter... it's hardcoded!
^1da177e4c3f41 Linus Torvalds 2005-04-16 53 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 54 interp = EM86_INTERP;
^1da177e4c3f41 Linus Torvalds 2005-04-16 55 i_name = EM86_I_NAME;
^1da177e4c3f41 Linus Torvalds 2005-04-16 56 i_arg = NULL; /* We reserve the right to add an arg later */
^1da177e4c3f41 Linus Torvalds 2005-04-16 57
^1da177e4c3f41 Linus Torvalds 2005-04-16 58 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 59 * Splice in (1) the interpreter's name for argv[0]
^1da177e4c3f41 Linus Torvalds 2005-04-16 60 * (2) (optional) argument to interpreter
^1da177e4c3f41 Linus Torvalds 2005-04-16 61 * (3) filename of emulated file (replace argv[0])
^1da177e4c3f41 Linus Torvalds 2005-04-16 62 *
^1da177e4c3f41 Linus Torvalds 2005-04-16 63 * This is done in reverse order, because of how the
^1da177e4c3f41 Linus Torvalds 2005-04-16 64 * user environment and arguments are stored.
^1da177e4c3f41 Linus Torvalds 2005-04-16 65 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 @66 remove_arg_zero(bprm);
986db2d14a6dca Christoph Hellwig 2020-06-04 67 retval = copy_string_kernel(bprm->filename, bprm);
^1da177e4c3f41 Linus Torvalds 2005-04-16 68 if (retval < 0) return retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 69 bprm->argc++;
^1da177e4c3f41 Linus Torvalds 2005-04-16 70 if (i_arg) {
986db2d14a6dca Christoph Hellwig 2020-06-04 71 retval = copy_string_kernel(i_arg, bprm);
^1da177e4c3f41 Linus Torvalds 2005-04-16 72 if (retval < 0) return retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 73 bprm->argc++;
^1da177e4c3f41 Linus Torvalds 2005-04-16 74 }
986db2d14a6dca Christoph Hellwig 2020-06-04 75 retval = copy_string_kernel(i_name, bprm);
^1da177e4c3f41 Linus Torvalds 2005-04-16 76 if (retval < 0) return retval;
^1da177e4c3f41 Linus Torvalds 2005-04-16 77 bprm->argc++;
^1da177e4c3f41 Linus Torvalds 2005-04-16 78
^1da177e4c3f41 Linus Torvalds 2005-04-16 79 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 80 * OK, now restart the process with the interpreter's inode.
^1da177e4c3f41 Linus Torvalds 2005-04-16 81 * Note that we use open_exec() as the name is now in kernel
^1da177e4c3f41 Linus Torvalds 2005-04-16 82 * space, and we don't need to copy it.
^1da177e4c3f41 Linus Torvalds 2005-04-16 83 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 84 file = open_exec(interp);
^1da177e4c3f41 Linus Torvalds 2005-04-16 85 if (IS_ERR(file))
^1da177e4c3f41 Linus Torvalds 2005-04-16 86 return PTR_ERR(file);
^1da177e4c3f41 Linus Torvalds 2005-04-16 87
bc2bf338d54b7a Eric W. Biederman 2020-05-18 88 bprm->interpreter = file;
bc2bf338d54b7a Eric W. Biederman 2020-05-18 89 return 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 90 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 91
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[arnd-playground:randconfig-v5.12 372/597] arch/x86/entry/entry_64_compat.S:20:2: warning: DWARF2 only supports one section per compilation unit
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git randconfig-v5.12
head: fd21c2581b744639b5207c11651ab40abf13701a
commit: 8c9828cf709354ab06136e924a5e2e6b5cdb12d2 [372/597] [HACK] always use integrated assembler with clang
config: x86_64-randconfig-a005-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commi...
git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
git fetch --no-tags arnd-playground randconfig-v5.12
git checkout 8c9828cf709354ab06136e924a5e2e6b5cdb12d2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/entry/entry_64_compat.S:20:2: warning: DWARF2 only supports one section per compilation unit
.section .entry.text, "ax"
^
<instantiation>:11:2: warning: DWARF2 only supports one section per compilation unit
.pushsection .altinstr_replacement,"ax"
^
arch/x86/entry/entry_64_compat.S:141:2: note: while in macro instantiation
ALTERNATIVE "testl %eax, %eax; jz swapgs_restore_regs_and_return_to_usermode", "jmp swapgs_restore_regs_and_return_to_usermode", ( 8*32+16)
^
--
>> arch/x86/platform/pvh/head.S:22:2: warning: DWARF2 only supports one section per compilation unit
.section ".head.text","ax"
^
vim +20 arch/x86/entry/entry_64_compat.S
^1da177e4c3f41 arch/x86_64/ia32/ia32entry.S Linus Torvalds 2005-04-16 19
ea7145477a461e arch/x86/ia32/ia32entry.S Jiri Olsa 2011-03-07 @20 .section .entry.text, "ax"
ea7145477a461e arch/x86/ia32/ia32entry.S Jiri Olsa 2011-03-07 21
:::::: The code at line 20 was first introduced by commit
:::::: ea7145477a461e09d8d194cac4b996dc4f449107 x86: Separate out entry text section
:::::: TO: Jiri Olsa <jolsa(a)redhat.com>
:::::: CC: Ingo Molnar <mingo(a)elte.hu>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[gfs2:for-next.radical6m 4/27] fs/gfs2/dir.c:2279: warning: expecting prototype for __gfs2_dir_exhash_dealloc(). Prototype was for gfs2_dir_exhash_dealloc() instead
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next.radical6m
head: ade69cc95ecf986b020e19bb73214d45eeda8fd1
commit: a03d1603414614e331382c8cd2117764bca83a4d [4/27] gfs2: fast dealloc for exhash directories
config: parisc-randconfig-r006-20210318 (attached as .config)
compiler: hppa-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/gfs2/linux-gfs2.git/commi...
git remote add gfs2 https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
git fetch --no-tags gfs2 for-next.radical6m
git checkout a03d1603414614e331382c8cd2117764bca83a4d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
fs/gfs2/dir.c:782: warning: Function parameter or member 'index' not described in 'get_leaf_nr'
fs/gfs2/dir.c:908: warning: Function parameter or member 'inode' not described in 'dir_make_exhash'
fs/gfs2/dir.c:908: warning: Excess function parameter 'dip' description in 'dir_make_exhash'
fs/gfs2/dir.c:1003: warning: Function parameter or member 'inode' not described in 'dir_split_leaf'
fs/gfs2/dir.c:1003: warning: Function parameter or member 'name' not described in 'dir_split_leaf'
fs/gfs2/dir.c:1003: warning: Excess function parameter 'dip' description in 'dir_split_leaf'
fs/gfs2/dir.c:1003: warning: Excess function parameter 'leaf_no' description in 'dir_split_leaf'
fs/gfs2/dir.c:1269: warning: Function parameter or member 'sort_start' not described in 'do_filldir_main'
fs/gfs2/dir.c:1480: warning: Function parameter or member 'inode' not described in 'gfs2_dir_readahead'
fs/gfs2/dir.c:1480: warning: Function parameter or member 'hsize' not described in 'gfs2_dir_readahead'
fs/gfs2/dir.c:1480: warning: Function parameter or member 'index' not described in 'gfs2_dir_readahead'
fs/gfs2/dir.c:1480: warning: Function parameter or member 'f_ra' not described in 'gfs2_dir_readahead'
fs/gfs2/dir.c:1529: warning: Function parameter or member 'inode' not described in 'dir_e_read'
fs/gfs2/dir.c:1529: warning: Function parameter or member 'f_ra' not described in 'dir_e_read'
fs/gfs2/dir.c:1529: warning: Excess function parameter 'dip' description in 'dir_e_read'
fs/gfs2/dir.c:1643: warning: Function parameter or member 'dir' not described in 'gfs2_dir_search'
fs/gfs2/dir.c:1643: warning: Excess function parameter 'dip' description in 'gfs2_dir_search'
fs/gfs2/dir.c:1879: warning: Function parameter or member 'dentry' not described in 'gfs2_dir_del'
fs/gfs2/dir.c:1879: warning: Excess function parameter 'filename' description in 'gfs2_dir_del'
fs/gfs2/dir.c:1940: warning: Function parameter or member 'filename' not described in 'gfs2_dir_mvino'
fs/gfs2/dir.c:1940: warning: Function parameter or member 'nip' not described in 'gfs2_dir_mvino'
fs/gfs2/dir.c:1940: warning: Function parameter or member 'new_type' not described in 'gfs2_dir_mvino'
fs/gfs2/dir.c:1940: warning: Excess function parameter 'new_inode' description in 'gfs2_dir_mvino'
fs/gfs2/dir.c:1977: warning: Function parameter or member 'last_dealloc' not described in 'leaf_dealloc'
fs/gfs2/dir.c:2143: warning: Function parameter or member 'rgd' not described in 'leaves_in_this_rgd'
fs/gfs2/dir.c:2143: warning: Function parameter or member 'lp' not described in 'leaves_in_this_rgd'
fs/gfs2/dir.c:2143: warning: Function parameter or member 'hsize' not described in 'leaves_in_this_rgd'
>> fs/gfs2/dir.c:2279: warning: expecting prototype for __gfs2_dir_exhash_dealloc(). Prototype was for gfs2_dir_exhash_dealloc() instead
fs/gfs2/dir.c:2297: warning: Function parameter or member 'inode' not described in 'gfs2_diradd_alloc_required'
fs/gfs2/dir.c:2297: warning: Function parameter or member 'name' not described in 'gfs2_diradd_alloc_required'
fs/gfs2/dir.c:2297: warning: Excess function parameter 'ip' description in 'gfs2_diradd_alloc_required'
fs/gfs2/dir.c:2297: warning: Excess function parameter 'filname' description in 'gfs2_diradd_alloc_required'
vim +2279 fs/gfs2/dir.c
2267
2268 /**
2269 * __gfs2_dir_exhash_dealloc - free all the leaf blocks in a directory
2270 * @dip: the directory
2271 *
2272 * Dealloc all on-disk directory leaves to FREEMETA state
2273 * Change on-disk inode type to "regular file"
2274 *
2275 * Returns: errno
2276 */
2277
2278 int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip)
> 2279 {
2280 if (dip->i_diskflags & GFS2_DIF_NO_NEXT_LEAF)
2281 return dir_exhash_fast_dealloc(dip);
2282
2283 return __gfs2_dir_exhash_dealloc(dip);
2284 }
2285
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months