All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: kbuild-all@lists.01.org
Subject: Re: [daniel.lezcano:timers/drivers/timer-ti 2/2] drivers/clocksource/timer-ti-dm-systimer.c:517:6: warning: variable 'pa' set but not used
Date: Tue, 19 May 2020 08:53:24 -0700	[thread overview]
Message-ID: <20200519155324.GR43721@atomide.com> (raw)
In-Reply-To: <202005192002.BUOMi5g2%lkp@intel.com>

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

* kbuild test robot <lkp@intel.com> [200519 12:43]:
> tree:   http://git.linaro.org/people/daniel.lezcano/linux timers/drivers/timer-ti
> head:   aba1ad05da088944a62eb87fb0cd8391152e8985
> commit: aba1ad05da088944a62eb87fb0cd8391152e8985 [2/2] clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support
> config: arm-defconfig (attached as .config)
> compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout aba1ad05da088944a62eb87fb0cd8391152e8985
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
> 
> drivers/clocksource/timer-ti-dm-systimer.c: In function 'dmtimer_clockevent_init':
> >> drivers/clocksource/timer-ti-dm-systimer.c:517:6: warning: variable 'pa' set but not used [-Wunused-but-set-variable]
> 517 |  u32 pa;
> |      ^~
> drivers/clocksource/timer-ti-dm-systimer.c: In function 'dmtimer_clocksource_init':
> drivers/clocksource/timer-ti-dm-systimer.c:640:6: warning: variable 'pa' set but not used [-Wunused-but-set-variable]
> 640 |  u32 pa;
> |      ^~

Thanks, I've sent a fix removing these as patch in case Daniel did not
already fix it locally:

[PATCH] clocksource/drivers/timer-ti-dm: Fix warning for set but not used

Regards,

Tony

      reply	other threads:[~2020-05-19 15:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19 12:42 [daniel.lezcano:timers/drivers/timer-ti 2/2] drivers/clocksource/timer-ti-dm-systimer.c:517:6: warning: variable 'pa' set but not used kbuild test robot
2020-05-19 15:53 ` Tony Lindgren [this message]

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=20200519155324.GR43721@atomide.com \
    --to=tony@atomide.com \
    --cc=kbuild-all@lists.01.org \
    /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.