From: kernel test robot <lkp@intel.com>
To: Jinglin Wen <jinglin.wen@shingroup.cn>, palmer@dabbelt.com
Cc: oe-kbuild-all@lists.linux.dev, paul.walmsley@sifive.com,
aou@eecs.berkeley.edu, gregkh@linuxfoundation.org,
atishp@rivosinc.com, linux-kernel@vger.kernel.org,
linux-riscv@lists.infradead.org,
Jinglin Wen <jinglin.wen@shingroup.cn>
Subject: Re: [PATCH 1/3] riscv: Support for early console.
Date: Thu, 11 Apr 2024 03:57:30 +0800 [thread overview]
Message-ID: <202404110326.Qa9YV4bV-lkp@intel.com> (raw)
In-Reply-To: <20240410063432.23058-2-jinglin.wen@shingroup.cn>
Hi Jinglin,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tty/tty-testing]
[also build test WARNING on tty/tty-next tty/tty-linus linus/master v6.9-rc3 next-20240410]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jinglin-Wen/riscv-Support-for-early-console/20240410-143840
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
patch link: https://lore.kernel.org/r/20240410063432.23058-2-jinglin.wen%40shingroup.cn
patch subject: [PATCH 1/3] riscv: Support for early console.
config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20240411/202404110326.Qa9YV4bV-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240411/202404110326.Qa9YV4bV-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404110326.Qa9YV4bV-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/riscv/kernel/early_console.c: In function 'early_console_printf':
>> arch/riscv/kernel/early_console.c:51:17: warning: function 'early_console_printf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
51 | vsnprintf(buf, EARLY_CONSOLE_BUFSIZE, fmt, args);
| ^~~~~~~~~
vim +51 arch/riscv/kernel/early_console.c
42
43 #define EARLY_CONSOLE_BUFSIZE 256
44 void early_console_printf(const char *fmt, ...)
45 {
46 if (riscv_early_console_putc) {
47 char buf[EARLY_CONSOLE_BUFSIZE];
48 va_list args;
49
50 va_start(args, fmt);
> 51 vsnprintf(buf, EARLY_CONSOLE_BUFSIZE, fmt, args);
52 early_console_puts(buf);
53 va_end(args);
54 }
55 }
56
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Jinglin Wen <jinglin.wen@shingroup.cn>, palmer@dabbelt.com
Cc: oe-kbuild-all@lists.linux.dev, paul.walmsley@sifive.com,
aou@eecs.berkeley.edu, gregkh@linuxfoundation.org,
atishp@rivosinc.com, linux-kernel@vger.kernel.org,
linux-riscv@lists.infradead.org,
Jinglin Wen <jinglin.wen@shingroup.cn>
Subject: Re: [PATCH 1/3] riscv: Support for early console.
Date: Thu, 11 Apr 2024 03:57:30 +0800 [thread overview]
Message-ID: <202404110326.Qa9YV4bV-lkp@intel.com> (raw)
In-Reply-To: <20240410063432.23058-2-jinglin.wen@shingroup.cn>
Hi Jinglin,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tty/tty-testing]
[also build test WARNING on tty/tty-next tty/tty-linus linus/master v6.9-rc3 next-20240410]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jinglin-Wen/riscv-Support-for-early-console/20240410-143840
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
patch link: https://lore.kernel.org/r/20240410063432.23058-2-jinglin.wen%40shingroup.cn
patch subject: [PATCH 1/3] riscv: Support for early console.
config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20240411/202404110326.Qa9YV4bV-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240411/202404110326.Qa9YV4bV-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404110326.Qa9YV4bV-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/riscv/kernel/early_console.c: In function 'early_console_printf':
>> arch/riscv/kernel/early_console.c:51:17: warning: function 'early_console_printf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
51 | vsnprintf(buf, EARLY_CONSOLE_BUFSIZE, fmt, args);
| ^~~~~~~~~
vim +51 arch/riscv/kernel/early_console.c
42
43 #define EARLY_CONSOLE_BUFSIZE 256
44 void early_console_printf(const char *fmt, ...)
45 {
46 if (riscv_early_console_putc) {
47 char buf[EARLY_CONSOLE_BUFSIZE];
48 va_list args;
49
50 va_start(args, fmt);
> 51 vsnprintf(buf, EARLY_CONSOLE_BUFSIZE, fmt, args);
52 early_console_puts(buf);
53 va_end(args);
54 }
55 }
56
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-04-10 19:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-10 6:34 [PATCH 0/3] Add early console functionality Jinglin Wen
2024-04-10 6:34 ` Jinglin Wen
2024-04-10 6:34 ` [PATCH 1/3] riscv: Support for early console Jinglin Wen
2024-04-10 6:34 ` Jinglin Wen
2024-04-10 19:57 ` kernel test robot [this message]
2024-04-10 19:57 ` kernel test robot
2024-04-11 4:36 ` kernel test robot
2024-04-11 4:36 ` kernel test robot
2024-04-10 6:34 ` [PATCH 2/3] riscv: SBI as the interface for the " Jinglin Wen
2024-04-10 6:34 ` Jinglin Wen
2024-04-17 8:03 ` kernel test robot
2024-04-17 8:03 ` kernel test robot
2024-04-10 6:34 ` [PATCH 3/3] riscv: Add information for MAINTAINERS Jinglin Wen
2024-04-10 6:34 ` Jinglin Wen
2024-04-10 7:10 ` [PATCH 0/3] Add early console functionality Björn Töpel
2024-04-10 7:10 ` Björn Töpel
2024-04-10 9:35 ` Jinglin Wen
2024-04-10 9:35 ` Jinglin Wen
2024-04-11 1:51 ` Jinglin Wen
2024-04-11 1:51 ` Jinglin Wen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202404110326.Qa9YV4bV-lkp@intel.com \
--to=lkp@intel.com \
--cc=aou@eecs.berkeley.edu \
--cc=atishp@rivosinc.com \
--cc=gregkh@linuxfoundation.org \
--cc=jinglin.wen@shingroup.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.