Re: [linux-next:master] BUILD REGRESSION 4662b7adea50bb62e993a67f611f3be625d3df0d

2022-07-18 Thread Liam Howlett
* Andrew Morton  [220716 21:03]:
> On Thu, 14 Jul 2022 09:56:19 +0800 kernel test robot  wrote:
> 
> > lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with 
> > const [constParameter]
> > lib/maple_tree.c:1871:21: warning: Array index 'split' is used before 
> > limits check. [arrayIndexThenCheck]
> > lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with 
> > const [constParameter]
> > lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The 
> > initialized value is overwritten before it is read. 
> > [redundantInitialization]
> > lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The 
> > initialized value is overwritten before it is read. 
> > [redundantInitialization]
> > lib/maple_tree.c:3160:22: warning: Found suspicious operator ',' 
> > [constStatement]
> > lib/maple_tree.c:3208:11: warning: Size of pointer 'pivs' used instead of 
> > size of its data. [pointerSize]
> > lib/maple_tree.c:326:2: warning: Assignment of function parameter has no 
> > effect outside the function. Did you forget dereferencing it? 
> > [uselessAssignmentPtrArg]
> > lib/maple_tree.c:4266:15: warning: The if condition is the same as the 
> > previous if condition [duplicateCondition]
> > lib/maple_tree.c:4302:23: warning: Boolean result is used in bitwise 
> > operation. Clarify expression with parentheses. [clarifyCondition]
> > lib/maple_tree.c:694:59: warning: Parameter 'pivots' can be declared with 
> > const [constParameter]
> > lib/test_printf.c:415:11: warning: Local variable 'addr' shadows outer 
> > function [shadowFunction]
> > mm/highmem.c:737:13: warning: Uninitialized variable: pam->page [uninitvar]
> > mm/migrate.c:355:53: warning: Parameter 'mapping' can be declared with 
> > const [constParameter]
> > mm/migrate.c:875:7: warning: Redundant initialization for 'rc'. The 
> > initialized value is overwritten before it is read. 
> > [redundantInitialization]
> > mm/mlock.c:230:20: warning: Using pointer that is a temporary. 
> > [danglingTemporaryLifetime]
> > mm/slab.c:1635:24: warning: Uninitialized variables: slab.__page_flags, 
> > slab.__unused_1, slab.freelist, slab.units, slab.__unused_2, 
> > slab.__page_refcount [uninitvar]
> > mm/slab.c:3289:7: warning: Redundant assignment of 'objp' to itself. 
> > [selfAssignment]
> > mm/slab.c:3509:8: warning: Redundant assignment of 'p[i]' to itself. 
> > [selfAssignment]
> > mm/slab.c:405:9: warning: Local variable 'slab_size' shadows outer function 
> > [shadowFunction]
> > mm/vmstat.c:1409:53: warning: Parameter 'pos' can be declared with const 
> > [constParameter]
> > mm/vmstat.c:1650:68: warning: Parameter 'zone' can be declared with const 
> > [constParameter]
> > mm/zsmalloc.c:2019:15: warning: Uninitialized variables: zspage.huge, 
> > zspage.fullness, zspage.class, zspage.isolated, zspage.magic, zspage.inuse, 
> > zspage.freeobj, zspage.first_page, zspage.lock [uninitvar]
> > mm/zsmalloc.c:2060:16: warning: Local variable 'obj_allocated' shadows 
> > outer function [shadowFunction]
> 
> urgh, thanks, lots of stuff to go through here.
> 
> Liam, I suggest we worry about the mapletree things at a later time ;)

I'm not sure where we stand with all that goings on here with an rc8 and
the concerns raised by Hugh, but I can produce a fix for these issues if
you'd like?


Re: [linux-next:master] BUILD REGRESSION 4662b7adea50bb62e993a67f611f3be625d3df0d

2022-07-16 Thread Liam Howlett
* Andrew Morton  [220716 21:03]:
> On Thu, 14 Jul 2022 09:56:19 +0800 kernel test robot  wrote:
> 
> > lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with 
> > const [constParameter]
> > lib/maple_tree.c:1871:21: warning: Array index 'split' is used before 
> > limits check. [arrayIndexThenCheck]
> > lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with 
> > const [constParameter]
> > lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The 
> > initialized value is overwritten before it is read. 
> > [redundantInitialization]
> > lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The 
> > initialized value is overwritten before it is read. 
> > [redundantInitialization]
> > lib/maple_tree.c:3160:22: warning: Found suspicious operator ',' 
> > [constStatement]
> > lib/maple_tree.c:3208:11: warning: Size of pointer 'pivs' used instead of 
> > size of its data. [pointerSize]
> > lib/maple_tree.c:326:2: warning: Assignment of function parameter has no 
> > effect outside the function. Did you forget dereferencing it? 
> > [uselessAssignmentPtrArg]
> > lib/maple_tree.c:4266:15: warning: The if condition is the same as the 
> > previous if condition [duplicateCondition]
> > lib/maple_tree.c:4302:23: warning: Boolean result is used in bitwise 
> > operation. Clarify expression with parentheses. [clarifyCondition]
> > lib/maple_tree.c:694:59: warning: Parameter 'pivots' can be declared with 
> > const [constParameter]
> > lib/test_printf.c:415:11: warning: Local variable 'addr' shadows outer 
> > function [shadowFunction]
> > mm/highmem.c:737:13: warning: Uninitialized variable: pam->page [uninitvar]
> > mm/migrate.c:355:53: warning: Parameter 'mapping' can be declared with 
> > const [constParameter]
> > mm/migrate.c:875:7: warning: Redundant initialization for 'rc'. The 
> > initialized value is overwritten before it is read. 
> > [redundantInitialization]
> > mm/mlock.c:230:20: warning: Using pointer that is a temporary. 
> > [danglingTemporaryLifetime]
> > mm/slab.c:1635:24: warning: Uninitialized variables: slab.__page_flags, 
> > slab.__unused_1, slab.freelist, slab.units, slab.__unused_2, 
> > slab.__page_refcount [uninitvar]
> > mm/slab.c:3289:7: warning: Redundant assignment of 'objp' to itself. 
> > [selfAssignment]
> > mm/slab.c:3509:8: warning: Redundant assignment of 'p[i]' to itself. 
> > [selfAssignment]
> > mm/slab.c:405:9: warning: Local variable 'slab_size' shadows outer function 
> > [shadowFunction]
> > mm/vmstat.c:1409:53: warning: Parameter 'pos' can be declared with const 
> > [constParameter]
> > mm/vmstat.c:1650:68: warning: Parameter 'zone' can be declared with const 
> > [constParameter]
> > mm/zsmalloc.c:2019:15: warning: Uninitialized variables: zspage.huge, 
> > zspage.fullness, zspage.class, zspage.isolated, zspage.magic, zspage.inuse, 
> > zspage.freeobj, zspage.first_page, zspage.lock [uninitvar]
> > mm/zsmalloc.c:2060:16: warning: Local variable 'obj_allocated' shadows 
> > outer function [shadowFunction]
> 
> urgh, thanks, lots of stuff to go through here.
> 
> Liam, I suggest we worry about the mapletree things at a later time ;)

Thanks.  I'll dig into them on top of v11, which I just sent out.


Re: [linux-next:master] BUILD REGRESSION 4662b7adea50bb62e993a67f611f3be625d3df0d

2022-07-16 Thread Andrew Morton
On Thu, 14 Jul 2022 09:56:19 +0800 kernel test robot  wrote:

> lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with 
> const [constParameter]
> lib/maple_tree.c:1871:21: warning: Array index 'split' is used before limits 
> check. [arrayIndexThenCheck]
> lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with const 
> [constParameter]
> lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The 
> initialized value is overwritten before it is read. [redundantInitialization]
> lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The 
> initialized value is overwritten before it is read. [redundantInitialization]
> lib/maple_tree.c:3160:22: warning: Found suspicious operator ',' 
> [constStatement]
> lib/maple_tree.c:3208:11: warning: Size of pointer 'pivs' used instead of 
> size of its data. [pointerSize]
> lib/maple_tree.c:326:2: warning: Assignment of function parameter has no 
> effect outside the function. Did you forget dereferencing it? 
> [uselessAssignmentPtrArg]
> lib/maple_tree.c:4266:15: warning: The if condition is the same as the 
> previous if condition [duplicateCondition]
> lib/maple_tree.c:4302:23: warning: Boolean result is used in bitwise 
> operation. Clarify expression with parentheses. [clarifyCondition]
> lib/maple_tree.c:694:59: warning: Parameter 'pivots' can be declared with 
> const [constParameter]
> lib/test_printf.c:415:11: warning: Local variable 'addr' shadows outer 
> function [shadowFunction]
> mm/highmem.c:737:13: warning: Uninitialized variable: pam->page [uninitvar]
> mm/migrate.c:355:53: warning: Parameter 'mapping' can be declared with const 
> [constParameter]
> mm/migrate.c:875:7: warning: Redundant initialization for 'rc'. The 
> initialized value is overwritten before it is read. [redundantInitialization]
> mm/mlock.c:230:20: warning: Using pointer that is a temporary. 
> [danglingTemporaryLifetime]
> mm/slab.c:1635:24: warning: Uninitialized variables: slab.__page_flags, 
> slab.__unused_1, slab.freelist, slab.units, slab.__unused_2, 
> slab.__page_refcount [uninitvar]
> mm/slab.c:3289:7: warning: Redundant assignment of 'objp' to itself. 
> [selfAssignment]
> mm/slab.c:3509:8: warning: Redundant assignment of 'p[i]' to itself. 
> [selfAssignment]
> mm/slab.c:405:9: warning: Local variable 'slab_size' shadows outer function 
> [shadowFunction]
> mm/vmstat.c:1409:53: warning: Parameter 'pos' can be declared with const 
> [constParameter]
> mm/vmstat.c:1650:68: warning: Parameter 'zone' can be declared with const 
> [constParameter]
> mm/zsmalloc.c:2019:15: warning: Uninitialized variables: zspage.huge, 
> zspage.fullness, zspage.class, zspage.isolated, zspage.magic, zspage.inuse, 
> zspage.freeobj, zspage.first_page, zspage.lock [uninitvar]
> mm/zsmalloc.c:2060:16: warning: Local variable 'obj_allocated' shadows outer 
> function [shadowFunction]

urgh, thanks, lots of stuff to go through here.

Liam, I suggest we worry about the mapletree things at a later time ;)


Re: [linux-next:master] BUILD REGRESSION 4662b7adea50bb62e993a67f611f3be625d3df0d

2022-07-14 Thread Philip Li
On Thu, Jul 14, 2022 at 01:35:35PM +0100, Russell King (Oracle) wrote:
> Hi,
> 
> I don't mean to discourge test systems, but looking at this, I just go
> "meh" and delete it - it doesn't seem to contain obviously useful
> information. One has to read every damn line to see if there's something
> of relevence, which I for one am not going to do.
> 
> Is there some kind of improvement that could be done to this to make it
> more useful - such as only sending the warnings/errors to the
> appropriate mailing lists for those - rather than grouping everything
> together into one email. At least that should make the stuff (a) more
> relevant and (b) easier to parse.

Thanks for the feedback Russell, we will further consider how to make this
summary report more helpful, and reduce unnecessary distribution to many
mailing list.

Typically, 0day ci sends 2 kinds of reports, one is bisected report, which
has specific warning/error as you mentioned to related receivers. Such as
https://lore.kernel.org/all/202207130344.auqexe4e-...@intel.com/

The other is this summary, we want to give an overview to the owner for the
head status. And we will re-consider the appropriate audiences for the mail
and the contents to make it clear.

> 
> Russell.
> 
> On Thu, Jul 14, 2022 at 09:56:19AM +0800, kernel test robot wrote:
> > tree/branch: 
> > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > branch HEAD: 4662b7adea50bb62e993a67f611f3be625d3df0d  Add linux-next 
> > specific files for 20220713
> > 
> > Error/Warning reports:
> > 
> > https://lore.kernel.org/linux-doc/202207021352.ppktuy8v-...@intel.com
> > https://lore.kernel.org/linux-doc/202207031437.qih6lfcx-...@intel.com
> > https://lore.kernel.org/linux-doc/202207051821.3f0erisl-...@intel.com
> > https://lore.kernel.org/linux-doc/202207140742.gtpk4u8i-...@intel.com
> > https://lore.kernel.org/linux-mm/202206292052.lsfui3zo-...@intel.com
> > https://lore.kernel.org/linux-mm/202207140042.ck3tlk6j-...@intel.com
> > https://lore.kernel.org/llvm/202207090100.acxdj79h-...@intel.com
> > 
> > Error/Warning: (recently discovered and may have been fixed)
> > 
> > Documentation/PCI/endpoint/pci-vntb-function.rst:82: WARNING: Unexpected 
> > indentation.
> > Documentation/PCI/endpoint/pci-vntb-howto.rst:131: WARNING: Title underline 
> > too short.
> > Documentation/filesystems/netfs_library.rst:384: WARNING: Inline emphasis 
> > start-string without end-string.
> > Documentation/filesystems/netfs_library:609: fs/netfs/buffered_read.c:318: 
> > WARNING: Inline emphasis start-string without end-string.
> > Documentation/virt/kvm/api.rst:8256: WARNING: Title underline too short.
> > Documentation/virt/kvm/api.rst:8263: WARNING: Unexpected indentation.
> > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2837:6: warning: no 
> > previous prototype for function 'dc_reset_state' [-Wmissing-prototypes]
> > drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to 
> > `kunit_binary_assert_format'
> > drivers/pci/endpoint/functions/pci-epf-vntb.c:975:5: warning: no previous 
> > prototype for 'pci_read' [-Wmissing-prototypes]
> > drivers/pci/endpoint/functions/pci-epf-vntb.c:984:5: warning: no previous 
> > prototype for 'pci_write' [-Wmissing-prototypes]
> > drivers/vfio/vfio_iommu_type1.c:2141:35: warning: cast to smaller integer 
> > type 'enum iommu_cap' from 'void *' [-Wvoid-pointer-to-enum-cast]
> > fs/ntfs/attrib.c:705:18: warning: Either the condition '!al' is redundant 
> > or there is pointer arithmetic with NULL pointer. 
> > [nullPointerArithmeticRedundantCheck]
> > fs/ntfs/layout.h:126:43: warning: Parameter 'p' can be declared with const 
> > [constParameter]
> > fs/ntfs/ntfs.h:144:3: warning: Assignment of function parameter has no 
> > effect outside the function. [uselessAssignmentArg]
> > fs/super.c:1310:57: warning: Parameter 'data' can be declared with const 
> > [constParameter]
> > fs/super.c:750:52: warning: Parameter 'bdev' can be declared with const 
> > [constParameter]
> > ipc/shm.c:158:0: warning: failed to expand 'ipc_init_proc_interface', it is 
> > invalid to use a preprocessor directive as macro parameter 
> > [preprocessorErrorDirective]
> > kernel/bpf/task_iter.c:152:11: warning: Redundant initialization for 
> > 'curr_fd'. The initialized value is overwritten before it is read. 
> > [redundantInitialization]
> > kernel/bpf/task_iter.c:498:59: warning: Parameter 'v' can be declared with 
> > const [constParameter]
> > kernel/fork.c:3256:42: warning: Parameter 'table' can be declared with 
> > const [constParameter]
> > kernel/fork.c:942:33: warning: Parameter 'src' can be declared with const 
> > [constParameter]
> > kernel/sched/fair.c:5081:25: warning: Uninitialized variables: cfs_rq.load, 
> > cfs_rq.nr_running, cfs_rq.h_nr_running, cfs_rq.idle_nr_running, 
> > cfs_rq.idle_h_nr_running, cfs_rq.exec_clock, cfs_rq.min_vruntime, 
> > cfs_rq.min_vruntime_copy, cfs_rq.tasks_timeline, cfs_rq.curr, cfs_rq.next, 
> > 

Re: [linux-next:master] BUILD REGRESSION 4662b7adea50bb62e993a67f611f3be625d3df0d

2022-07-14 Thread Russell King (Oracle)
Hi,

I don't mean to discourge test systems, but looking at this, I just go
"meh" and delete it - it doesn't seem to contain obviously useful
information. One has to read every damn line to see if there's something
of relevence, which I for one am not going to do.

Is there some kind of improvement that could be done to this to make it
more useful - such as only sending the warnings/errors to the
appropriate mailing lists for those - rather than grouping everything
together into one email. At least that should make the stuff (a) more
relevant and (b) easier to parse.

Russell.

On Thu, Jul 14, 2022 at 09:56:19AM +0800, kernel test robot wrote:
> tree/branch: 
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> branch HEAD: 4662b7adea50bb62e993a67f611f3be625d3df0d  Add linux-next 
> specific files for 20220713
> 
> Error/Warning reports:
> 
> https://lore.kernel.org/linux-doc/202207021352.ppktuy8v-...@intel.com
> https://lore.kernel.org/linux-doc/202207031437.qih6lfcx-...@intel.com
> https://lore.kernel.org/linux-doc/202207051821.3f0erisl-...@intel.com
> https://lore.kernel.org/linux-doc/202207140742.gtpk4u8i-...@intel.com
> https://lore.kernel.org/linux-mm/202206292052.lsfui3zo-...@intel.com
> https://lore.kernel.org/linux-mm/202207140042.ck3tlk6j-...@intel.com
> https://lore.kernel.org/llvm/202207090100.acxdj79h-...@intel.com
> 
> Error/Warning: (recently discovered and may have been fixed)
> 
> Documentation/PCI/endpoint/pci-vntb-function.rst:82: WARNING: Unexpected 
> indentation.
> Documentation/PCI/endpoint/pci-vntb-howto.rst:131: WARNING: Title underline 
> too short.
> Documentation/filesystems/netfs_library.rst:384: WARNING: Inline emphasis 
> start-string without end-string.
> Documentation/filesystems/netfs_library:609: fs/netfs/buffered_read.c:318: 
> WARNING: Inline emphasis start-string without end-string.
> Documentation/virt/kvm/api.rst:8256: WARNING: Title underline too short.
> Documentation/virt/kvm/api.rst:8263: WARNING: Unexpected indentation.
> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2837:6: warning: no 
> previous prototype for function 'dc_reset_state' [-Wmissing-prototypes]
> drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to 
> `kunit_binary_assert_format'
> drivers/pci/endpoint/functions/pci-epf-vntb.c:975:5: warning: no previous 
> prototype for 'pci_read' [-Wmissing-prototypes]
> drivers/pci/endpoint/functions/pci-epf-vntb.c:984:5: warning: no previous 
> prototype for 'pci_write' [-Wmissing-prototypes]
> drivers/vfio/vfio_iommu_type1.c:2141:35: warning: cast to smaller integer 
> type 'enum iommu_cap' from 'void *' [-Wvoid-pointer-to-enum-cast]
> fs/ntfs/attrib.c:705:18: warning: Either the condition '!al' is redundant or 
> there is pointer arithmetic with NULL pointer. 
> [nullPointerArithmeticRedundantCheck]
> fs/ntfs/layout.h:126:43: warning: Parameter 'p' can be declared with const 
> [constParameter]
> fs/ntfs/ntfs.h:144:3: warning: Assignment of function parameter has no effect 
> outside the function. [uselessAssignmentArg]
> fs/super.c:1310:57: warning: Parameter 'data' can be declared with const 
> [constParameter]
> fs/super.c:750:52: warning: Parameter 'bdev' can be declared with const 
> [constParameter]
> ipc/shm.c:158:0: warning: failed to expand 'ipc_init_proc_interface', it is 
> invalid to use a preprocessor directive as macro parameter 
> [preprocessorErrorDirective]
> kernel/bpf/task_iter.c:152:11: warning: Redundant initialization for 
> 'curr_fd'. The initialized value is overwritten before it is read. 
> [redundantInitialization]
> kernel/bpf/task_iter.c:498:59: warning: Parameter 'v' can be declared with 
> const [constParameter]
> kernel/fork.c:3256:42: warning: Parameter 'table' can be declared with const 
> [constParameter]
> kernel/fork.c:942:33: warning: Parameter 'src' can be declared with const 
> [constParameter]
> kernel/sched/fair.c:5081:25: warning: Uninitialized variables: cfs_rq.load, 
> cfs_rq.nr_running, cfs_rq.h_nr_running, cfs_rq.idle_nr_running, 
> cfs_rq.idle_h_nr_running, cfs_rq.exec_clock, cfs_rq.min_vruntime, 
> cfs_rq.min_vruntime_copy, cfs_rq.tasks_timeline, cfs_rq.curr, cfs_rq.next, 
> cfs_rq.last, cfs_rq.skip [uninitvar]
> kernel/sched/fair.c:6967:7: warning: Local variable 'min_vruntime' shadows 
> outer function [shadowFunction]
> lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with 
> const [constParameter]
> lib/maple_tree.c:1871:21: warning: Array index 'split' is used before limits 
> check. [arrayIndexThenCheck]
> lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with const 
> [constParameter]
> lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The 
> initialized value is overwritten before it is read. [redundantInitialization]
> lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The 
> initialized value is overwritten before it is read. [redundantInitialization]
> 

[linux-next:master] BUILD REGRESSION 4662b7adea50bb62e993a67f611f3be625d3df0d

2022-07-13 Thread kernel test robot
tree/branch: 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
branch HEAD: 4662b7adea50bb62e993a67f611f3be625d3df0d  Add linux-next specific 
files for 20220713

Error/Warning reports:

https://lore.kernel.org/linux-doc/202207021352.ppktuy8v-...@intel.com
https://lore.kernel.org/linux-doc/202207031437.qih6lfcx-...@intel.com
https://lore.kernel.org/linux-doc/202207051821.3f0erisl-...@intel.com
https://lore.kernel.org/linux-doc/202207140742.gtpk4u8i-...@intel.com
https://lore.kernel.org/linux-mm/202206292052.lsfui3zo-...@intel.com
https://lore.kernel.org/linux-mm/202207140042.ck3tlk6j-...@intel.com
https://lore.kernel.org/llvm/202207090100.acxdj79h-...@intel.com

Error/Warning: (recently discovered and may have been fixed)

Documentation/PCI/endpoint/pci-vntb-function.rst:82: WARNING: Unexpected 
indentation.
Documentation/PCI/endpoint/pci-vntb-howto.rst:131: WARNING: Title underline too 
short.
Documentation/filesystems/netfs_library.rst:384: WARNING: Inline emphasis 
start-string without end-string.
Documentation/filesystems/netfs_library:609: fs/netfs/buffered_read.c:318: 
WARNING: Inline emphasis start-string without end-string.
Documentation/virt/kvm/api.rst:8256: WARNING: Title underline too short.
Documentation/virt/kvm/api.rst:8263: WARNING: Unexpected indentation.
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:2837:6: warning: no previous 
prototype for function 'dc_reset_state' [-Wmissing-prototypes]
drivers/mmc/host/sdhci-of-aspeed-test.c:10: undefined reference to 
`kunit_binary_assert_format'
drivers/pci/endpoint/functions/pci-epf-vntb.c:975:5: warning: no previous 
prototype for 'pci_read' [-Wmissing-prototypes]
drivers/pci/endpoint/functions/pci-epf-vntb.c:984:5: warning: no previous 
prototype for 'pci_write' [-Wmissing-prototypes]
drivers/vfio/vfio_iommu_type1.c:2141:35: warning: cast to smaller integer type 
'enum iommu_cap' from 'void *' [-Wvoid-pointer-to-enum-cast]
fs/ntfs/attrib.c:705:18: warning: Either the condition '!al' is redundant or 
there is pointer arithmetic with NULL pointer. 
[nullPointerArithmeticRedundantCheck]
fs/ntfs/layout.h:126:43: warning: Parameter 'p' can be declared with const 
[constParameter]
fs/ntfs/ntfs.h:144:3: warning: Assignment of function parameter has no effect 
outside the function. [uselessAssignmentArg]
fs/super.c:1310:57: warning: Parameter 'data' can be declared with const 
[constParameter]
fs/super.c:750:52: warning: Parameter 'bdev' can be declared with const 
[constParameter]
ipc/shm.c:158:0: warning: failed to expand 'ipc_init_proc_interface', it is 
invalid to use a preprocessor directive as macro parameter 
[preprocessorErrorDirective]
kernel/bpf/task_iter.c:152:11: warning: Redundant initialization for 'curr_fd'. 
The initialized value is overwritten before it is read. 
[redundantInitialization]
kernel/bpf/task_iter.c:498:59: warning: Parameter 'v' can be declared with 
const [constParameter]
kernel/fork.c:3256:42: warning: Parameter 'table' can be declared with const 
[constParameter]
kernel/fork.c:942:33: warning: Parameter 'src' can be declared with const 
[constParameter]
kernel/sched/fair.c:5081:25: warning: Uninitialized variables: cfs_rq.load, 
cfs_rq.nr_running, cfs_rq.h_nr_running, cfs_rq.idle_nr_running, 
cfs_rq.idle_h_nr_running, cfs_rq.exec_clock, cfs_rq.min_vruntime, 
cfs_rq.min_vruntime_copy, cfs_rq.tasks_timeline, cfs_rq.curr, cfs_rq.next, 
cfs_rq.last, cfs_rq.skip [uninitvar]
kernel/sched/fair.c:6967:7: warning: Local variable 'min_vruntime' shadows 
outer function [shadowFunction]
lib/maple_tree.c:1522:52: warning: Parameter 'gaps' can be declared with const 
[constParameter]
lib/maple_tree.c:1871:21: warning: Array index 'split' is used before limits 
check. [arrayIndexThenCheck]
lib/maple_tree.c:2033:55: warning: Parameter 'mas' can be declared with const 
[constParameter]
lib/maple_tree.c:2426:8: warning: Redundant initialization for 'r_tmp'. The 
initialized value is overwritten before it is read. [redundantInitialization]
lib/maple_tree.c:2427:8: warning: Redundant initialization for 'l_tmp'. The 
initialized value is overwritten before it is read. [redundantInitialization]
lib/maple_tree.c:3160:22: warning: Found suspicious operator ',' 
[constStatement]
lib/maple_tree.c:3208:11: warning: Size of pointer 'pivs' used instead of size 
of its data. [pointerSize]
lib/maple_tree.c:326:2: warning: Assignment of function parameter has no effect 
outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
lib/maple_tree.c:4266:15: warning: The if condition is the same as the previous 
if condition [duplicateCondition]
lib/maple_tree.c:4302:23: warning: Boolean result is used in bitwise operation. 
Clarify expression with parentheses. [clarifyCondition]
lib/maple_tree.c:694:59: warning: Parameter 'pivots' can be declared with const 
[constParameter]
lib/test_printf.c:415:11: warning: Local variable 'addr' shadows outer function 
[shadowFunction]
mm/highmem.c:737:13: warning: