[csky-linux:riscv_compat_v2_sv48_v3_mmind_pbmt 42/44] arch/riscv/kernel/setup.c:328:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int'
by kernel test robot
tree: https://github.com/c-sky/csky-linux riscv_compat_v2_sv48_v3_mmind_pbmt
head: b28a50c03a72c48d3895320bdd0757e0a8acb881
commit: 330ce3d4a3edd32464ac6deb817c211526c40781 [42/44] riscv: add RISC-V Svpbmt extension supports
config: riscv-randconfig-r042-20220117 (https://download.01.org/0day-ci/archive/20220119/202201190246.f3cvUQdo-lk...)
compiler: riscv32-linux-gcc (GCC) 11.2.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/c-sky/csky-linux/commit/330ce3d4a3edd32464ac6deb817c21...
git remote add csky-linux https://github.com/c-sky/csky-linux
git fetch --no-tags csky-linux riscv_compat_v2_sv48_v3_mmind_pbmt
git checkout 330ce3d4a3edd32464ac6deb817c211526c40781
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/
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/riscv/kernel/setup.c: In function 'free_initmem':
arch/riscv/kernel/setup.c:326:9: error: implicit declaration of function 'ALT_THEAD_PMA' [-Werror=implicit-function-declaration]
326 | ALT_THEAD_PMA(prot_val);
| ^~~~~~~~~~~~~
In file included from include/asm-generic/bug.h:22,
from arch/riscv/include/asm/bug.h:83,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:9,
from arch/riscv/kernel/setup.c:12:
>> arch/riscv/kernel/setup.c:328:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
328 | printk("%s: _PAGE_IO: 0x%lx\n", __func__, _PAGE_IO);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap'
422 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
arch/riscv/kernel/setup.c:328:1: note: in expansion of macro 'printk'
328 | printk("%s: _PAGE_IO: 0x%lx\n", __func__, _PAGE_IO);
| ^~~~~~
arch/riscv/kernel/setup.c:328:27: note: format string is defined here
328 | printk("%s: _PAGE_IO: 0x%lx\n", __func__, _PAGE_IO);
| ~~^
| |
| long unsigned int
| %x
In file included from include/asm-generic/bug.h:22,
from arch/riscv/include/asm/bug.h:83,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:9,
from arch/riscv/kernel/setup.c:12:
arch/riscv/kernel/setup.c:329:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
329 | printk("%s: _PAGE_NOCACHE: 0x%lx\n", __func__, _PAGE_NOCACHE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap'
422 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
arch/riscv/kernel/setup.c:329:1: note: in expansion of macro 'printk'
329 | printk("%s: _PAGE_NOCACHE: 0x%lx\n", __func__, _PAGE_NOCACHE);
| ^~~~~~
arch/riscv/kernel/setup.c:329:32: note: format string is defined here
329 | printk("%s: _PAGE_NOCACHE: 0x%lx\n", __func__, _PAGE_NOCACHE);
| ~~^
| |
| long unsigned int
| %x
cc1: some warnings being treated as errors
vim +328 arch/riscv/kernel/setup.c
19a00869028f4a Atish Patra 2020-11-04 320
19a00869028f4a Atish Patra 2020-11-04 321 void free_initmem(void)
19a00869028f4a Atish Patra 2020-11-04 322 {
a8a0c8f014166b Heiko Stuebner 2021-12-17 323 unsigned long prot_val = pgprot_val(PAGE_KERNEL);
a8a0c8f014166b Heiko Stuebner 2021-12-17 324
a8a0c8f014166b Heiko Stuebner 2021-12-17 325 printk("%s: _PAGE_KERNEL-orig: 0x%lx\n", __func__, prot_val);
a8a0c8f014166b Heiko Stuebner 2021-12-17 326 ALT_THEAD_PMA(prot_val);
a8a0c8f014166b Heiko Stuebner 2021-12-17 327 printk("%s: _PAGE_KERNEL: 0x%lx\n", __func__, prot_val);
a8a0c8f014166b Heiko Stuebner 2021-12-17 @328 printk("%s: _PAGE_IO: 0x%lx\n", __func__, _PAGE_IO);
:::::: The code at line 328 was first introduced by commit
:::::: a8a0c8f014166b1e95e223240632fd0baac50ea7 hack in a debug output in freeinitmem
:::::: TO: Heiko Stuebner <heiko(a)sntech.de>
:::::: CC: Guo Ren <guoren(a)linux.alibaba.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months
[jirislaby:devel 10/31] drivers/tty/serial/samsung_tty.c:2983:46: error: passing argument 4 of 'uart_console_write' from incompatible pointer type
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: 0ecc0cdeaabd6b08ef3ec6dfaf724139031c00b8
commit: 2258e16ea4fe67f9700294b439b7aa1669aef643 [10/31] serial: make uart_console_write->putchar's character a char
config: nds32-randconfig-r023-20220116 (https://download.01.org/0day-ci/archive/20220119/202201190244.I2BjsDwz-lk...)
compiler: nds32le-linux-gcc (GCC) 11.2.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/jirislaby/linux.git/commi...
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby devel
git checkout 2258e16ea4fe67f9700294b439b7aa1669aef643
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash drivers/tty/serial/
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 >>):
drivers/tty/serial/samsung_tty.c: In function 'samsung_early_write':
>> drivers/tty/serial/samsung_tty.c:2983:46: error: passing argument 4 of 'uart_console_write' from incompatible pointer type [-Werror=incompatible-pointer-types]
2983 | uart_console_write(&dev->port, s, n, samsung_early_putc);
| ^~~~~~~~~~~~~~~~~~
| |
| void (*)(struct uart_port *, int)
In file included from drivers/tty/serial/samsung_tty.c:36:
include/linux/serial_core.h:402:32: note: expected 'void (*)(struct uart_port *, char)' but argument is of type 'void (*)(struct uart_port *, int)'
402 | void (*putchar)(struct uart_port *, char));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/uart_console_write +2983 drivers/tty/serial/samsung_tty.c
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23 2977
90ece856a227c4 drivers/tty/serial/samsung_tty.c Greg Kroah-Hartman 2019-12-10 2978 static void samsung_early_write(struct console *con, const char *s,
90ece856a227c4 drivers/tty/serial/samsung_tty.c Greg Kroah-Hartman 2019-12-10 2979 unsigned int n)
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23 2980 {
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23 2981 struct earlycon_device *dev = con->data;
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23 2982
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23 @2983 uart_console_write(&dev->port, s, n, samsung_early_putc);
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23 2984 }
b94ba0328d3b36 drivers/tty/serial/samsung.c Tomasz Figa 2015-01-23 2985
:::::: The code at line 2983 was first introduced by commit
:::::: b94ba0328d3b36ff95f5074c0e9b44f90dc56bb5 serial: samsung: Add support for early console
:::::: TO: Tomasz Figa <t.figa(a)samsung.com>
:::::: CC: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months
[jirislaby:devel 10/31] drivers/tty/serial/uartlite.c:508:37: error: incompatible function pointer types passing 'void (struct uart_port *, int)' to parameter of type 'void (*)(struct uart_port *, char)'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: 0ecc0cdeaabd6b08ef3ec6dfaf724139031c00b8
commit: 2258e16ea4fe67f9700294b439b7aa1669aef643 [10/31] serial: make uart_console_write->putchar's character a char
config: i386-randconfig-a002-20220117 (https://download.01.org/0day-ci/archive/20220119/202201190250.HH3mpoB9-lk...)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c10cbb243cafc0cf42c3e922cb29183279444432)
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/jirislaby/linux.git/commi...
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby devel
git checkout 2258e16ea4fe67f9700294b439b7aa1669aef643
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
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 >>):
>> drivers/tty/serial/uartlite.c:508:37: error: incompatible function pointer types passing 'void (struct uart_port *, int)' to parameter of type 'void (*)(struct uart_port *, char)' [-Werror,-Wincompatible-function-pointer-types]
uart_console_write(port, s, count, ulite_console_putchar);
^~~~~~~~~~~~~~~~~~~~~
include/linux/serial_core.h:402:11: note: passing argument to parameter 'putchar' here
void (*putchar)(struct uart_port *, char));
^
1 error generated.
vim +508 drivers/tty/serial/uartlite.c
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 490
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 491 static void ulite_console_write(struct console *co, const char *s,
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 492 unsigned int count)
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 493 {
deeb33e8fdd834 drivers/tty/serial/uartlite.c Shubhrajyoti Datta 2018-08-06 494 struct uart_port *port = console_port;
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 495 unsigned long flags;
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 496 unsigned int ier;
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 497 int locked = 1;
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 498
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 499 if (oops_in_progress) {
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 500 locked = spin_trylock_irqsave(&port->lock, flags);
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 501 } else
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 502 spin_lock_irqsave(&port->lock, flags);
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 503
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 504 /* save and disable interrupt */
6d53c3b71d32da drivers/tty/serial/uartlite.c Michal Simek 2013-02-11 505 ier = uart_in32(ULITE_STATUS, port) & ULITE_STATUS_IE;
6d53c3b71d32da drivers/tty/serial/uartlite.c Michal Simek 2013-02-11 506 uart_out32(0, ULITE_CONTROL, port);
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 507
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 @508 uart_console_write(port, s, count, ulite_console_putchar);
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 509
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 510 ulite_console_wait_tx(port);
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 511
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 512 /* restore interrupt state */
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 513 if (ier)
6d53c3b71d32da drivers/tty/serial/uartlite.c Michal Simek 2013-02-11 514 uart_out32(ULITE_CONTROL_IE, ULITE_CONTROL, port);
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 515
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 516 if (locked)
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 517 spin_unlock_irqrestore(&port->lock, flags);
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 518 }
238b8721a554a3 drivers/serial/uartlite.c Peter Korsgaard 2006-12-06 519
:::::: The code at line 508 was first introduced by commit
:::::: 238b8721a554a33a451a3f13bdb5be8fe5cfc927 [PATCH] serial uartlite driver
:::::: TO: Peter Korsgaard <jacmet(a)sunsite.dk>
:::::: CC: Linus Torvalds <torvalds(a)woody.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months
[Amazon]ご利用の確認お願い致します
by Amazon
Amazonお客様
平素は、Amazonをご利用いただき、誠にありがとうございます。
お客様のご要望に応じて、アカウントのパスワードを変更いたしました。
ログインプロセス中に、お客様は次のアクションを実行しました:
パスワードの変更。
アドレスの変更。
上記の操作を自分で行わなかった場合。以下のリンクをクリックして、本人確認を行い、アカウント設定を復元してください。
お客様が24時間以内に応答しない場合、アカウントのセキュリティのために、Amazonの使用にいくつかの制限を課します。
本件についてご迷惑をおかけしましたことをお詫び申し上げます。
何卒、よろしくお願い申し上げます。
詳しくはこちら
Amazonのまたのご利用をお待ちしております。
© 1996-2022, Amazon. Inc. or its affiliates
.
8 months
[csky-linux:riscv_compat_v2_sv48_v3_mmind_pbmt 31/44] kernel/locking/locktorture.c:918:39: error: use of undeclared identifier '_PAGE_MTMASK'
by kernel test robot
tree: https://github.com/c-sky/csky-linux riscv_compat_v2_sv48_v3_mmind_pbmt
head: b28a50c03a72c48d3895320bdd0757e0a8acb881
commit: a8a0c8f014166b1e95e223240632fd0baac50ea7 [31/44] hack in a debug output in freeinitmem
config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220119/202201190125.dGN7taEZ-lk...)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c10cbb243cafc0cf42c3e922cb29183279444432)
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/c-sky/csky-linux/commit/a8a0c8f014166b1e95e223240632fd...
git remote add csky-linux https://github.com/c-sky/csky-linux
git fetch --no-tags csky-linux riscv_compat_v2_sv48_v3_mmind_pbmt
git checkout a8a0c8f014166b1e95e223240632fd0baac50ea7
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash kernel/locking/
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 >>):
>> kernel/locking/locktorture.c:918:39: error: use of undeclared identifier '_PAGE_MTMASK'
printk("%s: -----> %llx\n", __func__, _PAGE_MTMASK);
^
1 error generated.
vim +/_PAGE_MTMASK +918 kernel/locking/locktorture.c
899
900 static int __init lock_torture_init(void)
901 {
902 int i, j;
903 int firsterr = 0;
904 static struct lock_torture_ops *torture_ops[] = {
905 &lock_busted_ops,
906 &spin_lock_ops, &spin_lock_irq_ops,
907 &rw_lock_ops, &rw_lock_irq_ops,
908 &mutex_lock_ops,
909 &ww_mutex_lock_ops,
910 #ifdef CONFIG_RT_MUTEXES
911 &rtmutex_lock_ops,
912 #endif
913 &rwsem_lock_ops,
914 &percpu_rwsem_lock_ops,
915 };
916
917
> 918 printk("%s: -----> %llx\n", __func__, _PAGE_MTMASK);
919
920
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months
[csky-linux:riscv_compat_v2_sv48_v3_mmind_pbmt 42/44] arch/riscv/kernel/setup.c:328:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'}
by kernel test robot
tree: https://github.com/c-sky/csky-linux riscv_compat_v2_sv48_v3_mmind_pbmt
head: b28a50c03a72c48d3895320bdd0757e0a8acb881
commit: 330ce3d4a3edd32464ac6deb817c211526c40781 [42/44] riscv: add RISC-V Svpbmt extension supports
config: riscv-nommu_k210_defconfig (https://download.01.org/0day-ci/archive/20220119/202201190119.sK9iIWyR-lk...)
compiler: riscv64-linux-gcc (GCC) 11.2.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/c-sky/csky-linux/commit/330ce3d4a3edd32464ac6deb817c21...
git remote add csky-linux https://github.com/c-sky/csky-linux
git fetch --no-tags csky-linux riscv_compat_v2_sv48_v3_mmind_pbmt
git checkout 330ce3d4a3edd32464ac6deb817c211526c40781
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/
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/riscv/kernel/setup.c: In function 'free_initmem':
arch/riscv/kernel/setup.c:326:9: error: implicit declaration of function 'ALT_THEAD_PMA' [-Werror=implicit-function-declaration]
326 | ALT_THEAD_PMA(prot_val);
| ^~~~~~~~~~~~~
In file included from include/asm-generic/bug.h:22,
from arch/riscv/include/asm/bug.h:83,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:9,
from arch/riscv/kernel/setup.c:12:
>> arch/riscv/kernel/setup.c:328:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
328 | printk("%s: _PAGE_IO: 0x%lx\n", __func__, _PAGE_IO);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap'
422 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
arch/riscv/kernel/setup.c:328:1: note: in expansion of macro 'printk'
328 | printk("%s: _PAGE_IO: 0x%lx\n", __func__, _PAGE_IO);
| ^~~~~~
arch/riscv/kernel/setup.c:328:27: note: format string is defined here
328 | printk("%s: _PAGE_IO: 0x%lx\n", __func__, _PAGE_IO);
| ~~^
| |
| long unsigned int
| %llx
In file included from include/asm-generic/bug.h:22,
from arch/riscv/include/asm/bug.h:83,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:9,
from arch/riscv/kernel/setup.c:12:
arch/riscv/kernel/setup.c:329:8: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
329 | printk("%s: _PAGE_NOCACHE: 0x%lx\n", __func__, _PAGE_NOCACHE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap'
422 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~
arch/riscv/kernel/setup.c:329:1: note: in expansion of macro 'printk'
329 | printk("%s: _PAGE_NOCACHE: 0x%lx\n", __func__, _PAGE_NOCACHE);
| ^~~~~~
arch/riscv/kernel/setup.c:329:32: note: format string is defined here
329 | printk("%s: _PAGE_NOCACHE: 0x%lx\n", __func__, _PAGE_NOCACHE);
| ~~^
| |
| long unsigned int
| %llx
cc1: some warnings being treated as errors
vim +328 arch/riscv/kernel/setup.c
19a00869028f4a Atish Patra 2020-11-04 320
19a00869028f4a Atish Patra 2020-11-04 321 void free_initmem(void)
19a00869028f4a Atish Patra 2020-11-04 322 {
a8a0c8f014166b Heiko Stuebner 2021-12-17 323 unsigned long prot_val = pgprot_val(PAGE_KERNEL);
a8a0c8f014166b Heiko Stuebner 2021-12-17 324
a8a0c8f014166b Heiko Stuebner 2021-12-17 325 printk("%s: _PAGE_KERNEL-orig: 0x%lx\n", __func__, prot_val);
a8a0c8f014166b Heiko Stuebner 2021-12-17 326 ALT_THEAD_PMA(prot_val);
a8a0c8f014166b Heiko Stuebner 2021-12-17 327 printk("%s: _PAGE_KERNEL: 0x%lx\n", __func__, prot_val);
a8a0c8f014166b Heiko Stuebner 2021-12-17 @328 printk("%s: _PAGE_IO: 0x%lx\n", __func__, _PAGE_IO);
:::::: The code at line 328 was first introduced by commit
:::::: a8a0c8f014166b1e95e223240632fd0baac50ea7 hack in a debug output in freeinitmem
:::::: TO: Heiko Stuebner <heiko(a)sntech.de>
:::::: CC: Guo Ren <guoren(a)linux.alibaba.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months
[asahilinux:bits/090-spi-hid 12/12] drivers/hid/spi-hid/spi-hid-apple-of.c:114:25: error: 'spi_hid_apple_of_match' undeclared here (not in a function); did you mean 'spihid_apple_of_match'?
by kernel test robot
tree: https://github.com/AsahiLinux/linux bits/090-spi-hid
head: 25070af6e6d0c750f307b019df19cc93a54b664c
commit: 25070af6e6d0c750f307b019df19cc93a54b664c [12/12] WIP: HID: transport: spi: add Apple SPI transport
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20220119/202201190058.vURTyce7-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/AsahiLinux/linux/commit/25070af6e6d0c750f307b019df19cc...
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/090-spi-hid
git checkout 25070af6e6d0c750f307b019df19cc93a54b664c
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/hid/
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 >>):
drivers/hid/spi-hid/spi-hid-apple-of.c:24:5: warning: no previous prototype for 'spihid_apple_of_power_on' [-Wmissing-prototypes]
24 | int spihid_apple_of_power_on(struct spihid_apple_ops *ops)
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/hid/spi-hid/spi-hid-apple-of.c:40:5: warning: no previous prototype for 'spihid_apple_of_power_off' [-Wmissing-prototypes]
40 | int spihid_apple_of_power_off(struct spihid_apple_ops *ops)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/hid/spi-hid/spi-hid-apple-of.c:50:5: warning: no previous prototype for 'spihid_apple_of_enable_irq' [-Wmissing-prototypes]
50 | int spihid_apple_of_enable_irq(struct spihid_apple_ops *ops)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/hid/spi-hid/spi-hid-apple-of.c:59:5: warning: no previous prototype for 'spihid_apple_of_disable_irq' [-Wmissing-prototypes]
59 | int spihid_apple_of_disable_irq(struct spihid_apple_ops *ops)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/device/driver.h:21,
from include/linux/device.h:32,
from include/linux/spi/spi.h:10,
from drivers/hid/spi-hid/spi-hid-apple.h:7,
from drivers/hid/spi-hid/spi-hid-apple-of.c:14:
>> drivers/hid/spi-hid/spi-hid-apple-of.c:114:25: error: 'spi_hid_apple_of_match' undeclared here (not in a function); did you mean 'spihid_apple_of_match'?
114 | MODULE_DEVICE_TABLE(of, spi_hid_apple_of_match);
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/module.h:244:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
244 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~
>> include/linux/module.h:244:21: error: '__mod_of__spi_hid_apple_of_match_device_table' aliased to undefined symbol 'spi_hid_apple_of_match'
244 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~~~
drivers/hid/spi-hid/spi-hid-apple-of.c:114:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
114 | MODULE_DEVICE_TABLE(of, spi_hid_apple_of_match);
| ^~~~~~~~~~~~~~~~~~~
vim +114 drivers/hid/spi-hid/spi-hid-apple-of.c
109
110 static const struct of_device_id spihid_apple_of_match[] = {
111 { .compatible = "apple,spi-hid-transport" },
112 {},
113 };
> 114 MODULE_DEVICE_TABLE(of, spi_hid_apple_of_match);
115
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months
drivers/media/i2c/ov8865.c:2799 ov8865_get_selection() warn: inconsistent indenting
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fe81ba137ebcc7f236780996a0b375732c07e85c
commit: acd25e220921de232b027c677668c93aa6ba5d15 media: i2c: Add .get_selection() support to ov8865
date: 7 weeks ago
config: x86_64-randconfig-m001-20220117 (https://download.01.org/0day-ci/archive/20220118/202201182306.qGenOYaU-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
smatch warnings:
drivers/media/i2c/ov8865.c:2799 ov8865_get_selection() warn: inconsistent indenting
vim +2799 drivers/media/i2c/ov8865.c
2787
2788 static int ov8865_get_selection(struct v4l2_subdev *subdev,
2789 struct v4l2_subdev_state *state,
2790 struct v4l2_subdev_selection *sel)
2791 {
2792 struct ov8865_sensor *sensor = ov8865_subdev_sensor(subdev);
2793
2794 switch (sel->target) {
2795 case V4L2_SEL_TGT_CROP:
2796 mutex_lock(&sensor->mutex);
2797 __ov8865_get_pad_crop(sensor, state, sel->pad,
2798 sel->which, &sel->r);
> 2799 mutex_unlock(&sensor->mutex);
2800 break;
2801 case V4L2_SEL_TGT_NATIVE_SIZE:
2802 sel->r.top = 0;
2803 sel->r.left = 0;
2804 sel->r.width = OV8865_NATIVE_WIDTH;
2805 sel->r.height = OV8865_NATIVE_HEIGHT;
2806 break;
2807 case V4L2_SEL_TGT_CROP_BOUNDS:
2808 case V4L2_SEL_TGT_CROP_DEFAULT:
2809 sel->r.top = OV8865_ACTIVE_START_TOP;
2810 sel->r.left = OV8865_ACTIVE_START_LEFT;
2811 sel->r.width = OV8865_ACTIVE_WIDTH;
2812 sel->r.height = OV8865_ACTIVE_HEIGHT;
2813 break;
2814 default:
2815 return -EINVAL;
2816 }
2817
2818 return 0;
2819 }
2820
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
8 months