mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Thomas Gleixner <tglx@linutronix.de>
Subject: [peterz-queue:call-depth-tracking 59/60] ./include/generated/asm-offsets.h:81: warning: "TASK_SIZE" redefined
Date: Sat, 24 Sep 2022 03:04:01 +0800	[thread overview]
Message-ID: <202209240243.vRVXCjW9-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git call-depth-tracking
head:   856304fc062b9ad34742a604b98cc775846c0cb3
commit: 46f9bf3269a589dc0258ae68c32e064e25a0a149 [59/60] x86/ftrace: Make it call depth tracking aware
config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20220924/202209240243.vRVXCjW9-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 12.1.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/peterz/queue.git/commit/?id=46f9bf3269a589dc0258ae68c32e064e25a0a149
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue call-depth-tracking
        git checkout 46f9bf3269a589dc0258ae68c32e064e25a0a149
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash kernel/trace/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   kernel/trace/trace.c: In function 'trace_check_vprintf':
   kernel/trace/trace.c:3846:17: warning: function 'trace_check_vprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
    3846 |                 trace_seq_vprintf(&iter->seq, iter->fmt, ap);
         |                 ^~~~~~~~~~~~~~~~~
   kernel/trace/trace.c:3913:17: warning: function 'trace_check_vprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
    3913 |                 trace_seq_vprintf(&iter->seq, p, ap);
         |                 ^~~~~~~~~~~~~~~~~
   In file included from arch/powerpc/include/asm/asm-offsets.h:1,
                    from kernel/trace/trace_selftest.c:10,
                    from kernel/trace/trace.c:8672:
   ./include/generated/asm-offsets.h: At top level:
>> ./include/generated/asm-offsets.h:81: warning: "TASK_SIZE" redefined
      81 | #define TASK_SIZE -1342177280 /* TASK_SIZE */
         | 
   In file included from arch/powerpc/include/asm/processor.h:73,
                    from arch/powerpc/include/asm/thread_info.h:46,
                    from include/linux/thread_info.h:60,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/powerpc/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:55,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:7,
                    from include/linux/mm.h:7,
                    from include/linux/ring_buffer.h:5,
                    from kernel/trace/trace.c:15:
   arch/powerpc/include/asm/task_size_32.h:9: note: this is the location of the previous definition
       9 | #define TASK_SIZE (CONFIG_TASK_SIZE)
         | 
--
   In file included from arch/powerpc/include/asm/asm-offsets.h:1,
                    from kernel/trace/trace_selftest.c:10,
                    from kernel/trace/trace.c:8672:
>> ./include/generated/asm-offsets.h:81: warning: "TASK_SIZE" redefined
      81 | #define TASK_SIZE -1342177280 /* TASK_SIZE */
         | 
   In file included from arch/powerpc/include/asm/processor.h:73,
                    from arch/powerpc/include/asm/thread_info.h:46,
                    from include/linux/thread_info.h:60,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/powerpc/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:55,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:7,
                    from include/linux/mm.h:7,
                    from include/linux/ring_buffer.h:5,
                    from kernel/trace/trace.c:15:
   arch/powerpc/include/asm/task_size_32.h:9: note: this is the location of the previous definition
       9 | #define TASK_SIZE (CONFIG_TASK_SIZE)
         | 

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-09-23 19:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202209240243.vRVXCjW9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    /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

all inboxes | Powered by JetHome®