* arch/riscv/kernel/cpufeature.c:288:27: warning: Parameter 'end' can be declared with const [constParameter]
@ 2022-06-06 11:45 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-06-06 11:45 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 1827 bytes --]
::::::
:::::: Manual check reason: "low confidence static check warning: arch/riscv/kernel/cpufeature.c:288:27: warning: Parameter 'end' can be declared with const [constParameter]"
::::::
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Heiko Stuebner <heiko@sntech.de>
CC: Palmer Dabbelt <palmer@rivosinc.com>
CC: Wei Fu <wefu@redhat.com>
CC: Liu Shaohua <liush@allwinnertech.com>
CC: Guo Ren <guoren@kernel.org>
CC: Philipp Tomsich <philipp.tomsich@vrull.eu>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f2906aa863381afb0015a9eb7fefad885d4e5a56
commit: ff689fd21cb13098305bae3f8d0c0065df2e2fc1 riscv: add RISC-V Svpbmt extension support
date: 4 weeks ago
:::::: branch date: 11 hours ago
:::::: commit date: 4 weeks ago
compiler: riscv64-linux-gcc (GCC) 11.3.0
reproduce (cppcheck warning):
# apt-get install cppcheck
git checkout ff689fd21cb13098305bae3f8d0c0065df2e2fc1
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 <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> arch/riscv/kernel/cpufeature.c:288:27: warning: Parameter 'end' can be declared with const [constParameter]
struct alt_entry *end,
^
vim +/end +288 arch/riscv/kernel/cpufeature.c
ff689fd21cb130 Heiko Stuebner 2022-05-11 286
ff689fd21cb130 Heiko Stuebner 2022-05-11 287 void __init_or_module riscv_cpufeature_patch_func(struct alt_entry *begin,
ff689fd21cb130 Heiko Stuebner 2022-05-11 @288 struct alt_entry *end,
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
* arch/riscv/kernel/cpufeature.c:288:27: warning: Parameter 'end' can be declared with const [constParameter]
@ 2022-08-25 5:20 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-08-25 5:20 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2457 bytes --]
::::::
:::::: Manual check reason: "low confidence static check warning: arch/riscv/kernel/cpufeature.c:288:27: warning: Parameter 'end' can be declared with const [constParameter]"
::::::
BCC: lkp(a)intel.com
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Heiko Stuebner <heiko@sntech.de>
CC: Palmer Dabbelt <palmer@rivosinc.com>
CC: Wei Fu <wefu@redhat.com>
CC: Liu Shaohua <liush@allwinnertech.com>
CC: Guo Ren <guoren@kernel.org>
CC: Philipp Tomsich <philipp.tomsich@vrull.eu>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c40e8341e3b3bb27e3a65b06b5b454626234c4f0
commit: ff689fd21cb13098305bae3f8d0c0065df2e2fc1 riscv: add RISC-V Svpbmt extension support
date: 4 months ago
:::::: branch date: 27 hours ago
:::::: commit date: 4 months ago
compiler: riscv64-linux-gcc (GCC) 12.1.0
reproduce (cppcheck warning):
# apt-get install cppcheck
git checkout ff689fd21cb13098305bae3f8d0c0065df2e2fc1
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 <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> arch/riscv/kernel/cpufeature.c:288:27: warning: Parameter 'end' can be declared with const [constParameter]
struct alt_entry *end,
^
--
>> block/blk-throttle.c:1484:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint]
snprintf(bufs[0], sizeof(bufs[0]), "%llu",
^
block/blk-throttle.c:1487:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint]
snprintf(bufs[1], sizeof(bufs[1]), "%llu",
^
>> block/blk-throttle.c:1814:21: warning: Parameter 'this_tg' can be declared with const [constParameter]
struct throtl_grp *this_tg)
^
vim +/end +288 arch/riscv/kernel/cpufeature.c
ff689fd21cb130 Heiko Stuebner 2022-05-11 286
ff689fd21cb130 Heiko Stuebner 2022-05-11 287 void __init_or_module riscv_cpufeature_patch_func(struct alt_entry *begin,
ff689fd21cb130 Heiko Stuebner 2022-05-11 @288 struct alt_entry *end,
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-25 5:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-06 11:45 arch/riscv/kernel/cpufeature.c:288:27: warning: Parameter 'end' can be declared with const [constParameter] kernel test robot
2022-08-25 5:20 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.