mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Damien Horsley <Damien.Horsley@imgtec.com>
Cc: kbuild-all@01.org, alsa-devel@alsa-project.org,
	Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, Pawel Moll <pawel.moll@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>,
	Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Kumar Gala <galak@codeaurora.org>,
	"Damien.Horsley" <Damien.Horsley@imgtec.com>
Subject: Re: [alsa-devel] [PATCH 04/10] ASoC: img: Add driver for I2S output controller
Date: Thu, 1 Oct 2015 02:13:10 +0800	[thread overview]
Message-ID: <201510010205.4AbOTkvv%fengguang.wu@intel.com> (raw)
In-Reply-To: <1443625696-29296-5-git-send-email-Damien.Horsley@imgtec.com>

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

Hi Damien.Horsley,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]

config: sh-allyesconfig (attached as .config)
reproduce:
  wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
  chmod +x ~/bin/make.cross
  git checkout 5037c15dd47c86ab337b73c7f9ffcabe1bb86f3b
  # save the attached .config to linux build tree
  make.cross ARCH=sh 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   sound/soc/img/img-i2s-out.c: In function 'img_i2s_out_set_fmt':
>> sound/soc/img/img-i2s-out.c:108:2: warning: 'reg' may be used uninitialized in this function [-Wuninitialized]
   sound/soc/img/img-i2s-out.c:291:6: note: 'reg' was declared here

vim +/reg +108 sound/soc/img/img-i2s-out.c

    92	}
    93	
    94	static inline void img_i2s_out_writel(struct img_i2s_out *i2s, u32 val,
    95						u32 reg)
    96	{
    97		writel(val, i2s->base + reg);
    98	}
    99	
   100	static inline u32 img_i2s_out_readl(struct img_i2s_out *i2s, u32 reg)
   101	{
   102		return readl(i2s->base + reg);
   103	}
   104	
   105	static inline void img_i2s_out_ch_writel(struct img_i2s_out *i2s,
   106						u32 chan, u32 val, u32 reg)
   107	{
 > 108		writel(val, i2s->channel_base + (chan * IMG_I2S_OUT_CH_STRIDE) + reg);
   109	}
   110	
   111	static inline u32 img_i2s_out_ch_readl(struct img_i2s_out *i2s, u32 chan,
   112						u32 reg)
   113	{
   114		return readl(i2s->channel_base + (chan * IMG_I2S_OUT_CH_STRIDE) + reg);
   115	}
   116	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 37263 bytes --]

  parent reply	other threads:[~2015-09-30 18:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1443625696-29296-5-git-send-email-Damien.Horsley@imgtec.com>
2015-09-30 15:42 ` kbuild test robot
2015-09-30 18:13 ` kbuild test robot [this message]
2015-09-30 18:34 ` kbuild test robot

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=201510010205.4AbOTkvv%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=Damien.Horsley@imgtec.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kbuild-all@01.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=tiwai@suse.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

all inboxes | Powered by JetHome®