LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Tang Yizhou <tangyizhou@huawei.com>,
	bristot@redhat.com, rostedt@goodmis.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, mingo@redhat.com,
	linux-kernel@vger.kernel.org, tangyizhou@huawei.com
Subject: Re: [PATCH] trace: Do some cleanups for osnoise tracer
Date: Mon, 13 Sep 2021 18:05:33 +0800	[thread overview]
Message-ID: <202109131722.5KD0IV2X-lkp@intel.com> (raw)
In-Reply-To: <20210913033206.23682-1-tangyizhou@huawei.com>

[-- Attachment #1: Type: text/plain, Size: 3561 bytes --]

Hi Tang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v5.15-rc1 next-20210913]
[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]

url:    https://github.com/0day-ci/linux/commits/Tang-Yizhou/trace-Do-some-cleanups-for-osnoise-tracer/20210913-111459
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 4034fb207e302cc0b1f304084d379640c1fb1436
config: i386-randconfig-r005-20210912 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a)
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/0day-ci/linux/commit/cecf38d3b5e23a411856f6c8f3e3be903e439876
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Tang-Yizhou/trace-Do-some-cleanups-for-osnoise-tracer/20210913-111459
        git checkout cecf38d3b5e23a411856f6c8f3e3be903e439876
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 

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

All errors (new ones prefixed by >>):

>> kernel/trace/trace_osnoise.c:1826:9: error: initializing 'u64 *' (aka 'unsigned long long *') with an expression of type 'const u64 *' (aka 'const unsigned long long *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
           .max    = &timerlat_max_period,
                     ^~~~~~~~~~~~~~~~~~~~
   kernel/trace/trace_osnoise.c:1827:9: error: initializing 'u64 *' (aka 'unsigned long long *') with an expression of type 'const u64 *' (aka 'const unsigned long long *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
           .min    = &timerlat_min_period,
                     ^~~~~~~~~~~~~~~~~~~~
   2 errors generated.


vim +1826 kernel/trace/trace_osnoise.c

a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1817  
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1818  /*
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1819   * osnoise/timerlat_period: min 100 us, max 1 s
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1820   */
cecf38d3b5e23a Tang Yizhou                2021-09-13  1821  static const u64 timerlat_min_period = 100;
cecf38d3b5e23a Tang Yizhou                2021-09-13  1822  static const u64 timerlat_max_period = 1000000;
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1823  static struct trace_min_max_param timerlat_period = {
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1824  	.lock	= &interface_lock,
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1825  	.val	= &osnoise_data.timerlat_period,
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22 @1826  	.max	= &timerlat_max_period,
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1827  	.min	= &timerlat_min_period,
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1828  };
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1829  #endif
a955d7eac1779b Daniel Bristot de Oliveira 2021-06-22  1830  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40580 bytes --]

  parent reply	other threads:[~2021-09-13 10:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13  3:32 Tang Yizhou
2021-09-13  7:59 ` kernel test robot
2021-09-13  8:53 ` kernel test robot
2021-09-13 10:05 ` kernel test robot [this message]
2021-09-13 14:58 ` Steven Rostedt

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=202109131722.5KD0IV2X-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bristot@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=mingo@redhat.com \
    --cc=rostedt@goodmis.org \
    --cc=tangyizhou@huawei.com \
    --subject='Re: [PATCH] trace: Do some cleanups for osnoise tracer' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).