:::::: 
:::::: Manual check reason: "low confidence static check warning: 
arch/riscv/errata/thead/errata.c:55:90: warning: Parameter 'end' can be 
declared with const [constParameter]"
:::::: 

CC: [email protected]
BCC: [email protected]
CC: [email protected]
TO: Heiko Stuebner <[email protected]>
CC: Palmer Dabbelt <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   4b35035bcf80ddb47c0112c4fbd84a63a2836a18
commit: a35707c3d850dda0ceefb75b1b3bd191921d5765 riscv: add memory-type errata 
for T-Head
date:   5 weeks ago
:::::: branch date: 9 hours ago
:::::: commit date: 5 weeks ago
compiler: riscv64-linux-gcc (GCC) 11.3.0
reproduce (cppcheck warning):
        # apt-get install cppcheck
        git checkout a35707c3d850dda0ceefb75b1b3bd191921d5765
        cppcheck --quiet --enable=style,performance,portability --template=gcc 
FILE

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> arch/riscv/errata/thead/errata.c:55:90: warning: Parameter 'end' can be 
>> declared with const [constParameter]
   void __init_or_module thead_errata_patch_func(struct alt_entry *begin, 
struct alt_entry *end,
                                                                                
            ^

vim +/end +55 arch/riscv/errata/thead/errata.c

a35707c3d850dd Heiko Stuebner 2022-05-11  54  
a35707c3d850dd Heiko Stuebner 2022-05-11 @55  void __init_or_module 
thead_errata_patch_func(struct alt_entry *begin, struct alt_entry *end,

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to