public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Liu, Changcheng" <changcheng.liu@intel.com>
To: lkp@intel.com, kbuild-all@01.org
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>,
	jpoimboe@redhat.com, Petr Mladek <pmladek@suse.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, changcheng.liu@intel.com
Subject: Re: [PATCH 0001/0001] format idle IP output func+offset/length
Date: Thu, 9 Nov 2017 11:29:23 +0800	[thread overview]
Message-ID: <20171109032923.GA87743@sofia> (raw)
In-Reply-To: <201711091005.quoeG5eF%fengguang.wu@intel.com>

Hi 0Day maintainers,
     The right patch is https://lkml.org/lkml/2017/11/6/685
	 I don't know why the original wrong patch is tested again.

B.R.
Changcheng

On 11:10 Thu 09 Nov, kbuild test robot wrote:
> Hi Changcheng,
> 
> Thank you for the patch! Perhaps something to improve:
> 
> [auto build test WARNING on linus/master]
> [also build test WARNING on v4.14-rc8]
> [cannot apply to next-20171108]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
> 
> url:    https://github.com/0day-ci/linux/commits/Liu-Changcheng/format-idle-IP-output-func-offset-length/20171109-100035
> config: i386-randconfig-x074-201745 (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All warnings (new ones prefixed by >>):
> 
>    In file included from include/linux/printk.h:7:0,
>                     from include/linux/kernel.h:14,
>                     from include/linux/cpumask.h:10,
>                     from lib/nmi_backtrace.c:16:
>    lib/nmi_backtrace.c: In function 'nmi_cpu_backtrace':
> >> include/linux/kern_levels.h:5:18: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'long unsigned int' [-Wformat=]
>     #define KERN_SOH "\001"  /* ASCII Start Of Header */
>                      ^
>    include/linux/kern_levels.h:12:22: note: in expansion of macro 'KERN_SOH'
>     #define KERN_WARNING KERN_SOH "4" /* warning conditions */
>                          ^~~~~~~~
>    include/linux/printk.h:304:9: note: in expansion of macro 'KERN_WARNING'
>      printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
>             ^~~~~~~~~~~~
>    include/linux/printk.h:305:17: note: in expansion of macro 'pr_warning'
>     #define pr_warn pr_warning
>                     ^~~~~~~~~~
> >> lib/nmi_backtrace.c:96:4: note: in expansion of macro 'pr_warn'
>        pr_warn("NMI backtrace for cpu %d skipped: idling at pc %pS\n",
>        ^~~~~~~
> 
> vim +/pr_warn +96 lib/nmi_backtrace.c
> 
>     87	
>     88	bool nmi_cpu_backtrace(struct pt_regs *regs)
>     89	{
>     90		static arch_spinlock_t lock = __ARCH_SPIN_LOCK_UNLOCKED;
>     91		int cpu = smp_processor_id();
>     92	
>     93		if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) {
>     94			arch_spin_lock(&lock);
>     95			if (regs && cpu_in_idle(instruction_pointer(regs))) {
>   > 96				pr_warn("NMI backtrace for cpu %d skipped: idling at pc %pS\n",
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

  reply	other threads:[~2017-11-09  3:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-06  5:25 [PATCH 0001/0001] format idle IP output func+offset/length Liu, Changcheng
2017-11-06  8:05 ` Sergey Senozhatsky
2017-11-06 10:52   ` Liu, Changcheng
2017-11-06 12:15     ` Petr Mladek
2017-11-06 13:11     ` Josh Poimboeuf
2017-11-06 16:48       ` Liu, Changcheng
2017-11-06 16:56         ` [PATCH v2] lib_backtrace: fix kernel text address leak Liu, Changcheng
2017-11-06 17:14           ` Josh Poimboeuf
2017-11-09  3:10 ` [PATCH 0001/0001] format idle IP output func+offset/length kbuild test robot
2017-11-09  3:29   ` Liu, Changcheng [this message]
2017-11-09  3:21 ` kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2017-11-06  3:19 Liu, Changcheng
2017-11-06 12:13 ` Petr Mladek

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=20171109032923.GA87743@sofia \
    --to=changcheng.liu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=jpoimboe@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=pmladek@suse.com \
    --cc=sergey.senozhatsky.work@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox