Re: [alsa-devel] [PATCH 04/10] ASoC: img: Add driver for I2S output controller

From: kbuild test robot
Date: Wed Sep 30 2015 - 14:35:39 EST


Hi Damien.Horsley,

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

config: blackfin-allmodconfig (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=blackfin

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':
>> include/asm-generic/io.h:163: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 +163 include/asm-generic/io.h

9216efaf Thierry Reding 2014-10-01 147 __raw_writeb(value, addr);
3f7e212d Arnd Bergmann 2009-05-13 148 }
9216efaf Thierry Reding 2014-10-01 149 #endif
3f7e212d Arnd Bergmann 2009-05-13 150
9216efaf Thierry Reding 2014-10-01 151 #ifndef writew
9216efaf Thierry Reding 2014-10-01 152 #define writew writew
9216efaf Thierry Reding 2014-10-01 153 static inline void writew(u16 value, volatile void __iomem *addr)
3f7e212d Arnd Bergmann 2009-05-13 154 {
9216efaf Thierry Reding 2014-10-01 155 __raw_writew(cpu_to_le16(value), addr);
3f7e212d Arnd Bergmann 2009-05-13 156 }
9216efaf Thierry Reding 2014-10-01 157 #endif
3f7e212d Arnd Bergmann 2009-05-13 158
9216efaf Thierry Reding 2014-10-01 159 #ifndef writel
9216efaf Thierry Reding 2014-10-01 160 #define writel writel
9216efaf Thierry Reding 2014-10-01 161 static inline void writel(u32 value, volatile void __iomem *addr)
3f7e212d Arnd Bergmann 2009-05-13 162 {
9216efaf Thierry Reding 2014-10-01 @163 __raw_writel(__cpu_to_le32(value), addr);
3f7e212d Arnd Bergmann 2009-05-13 164 }
9216efaf Thierry Reding 2014-10-01 165 #endif
3f7e212d Arnd Bergmann 2009-05-13 166
9216efaf Thierry Reding 2014-10-01 167 #ifdef CONFIG_64BIT
9216efaf Thierry Reding 2014-10-01 168 #ifndef writeq
9216efaf Thierry Reding 2014-10-01 169 #define writeq writeq
9216efaf Thierry Reding 2014-10-01 170 static inline void writeq(u64 value, volatile void __iomem *addr)
3f7e212d Arnd Bergmann 2009-05-13 171 {

:::::: The code at line 163 was first introduced by commit
:::::: 9216efafc52ff99e9351ef60de5fcafc2bc8adb6 asm-generic/io.h: Reconcile I/O accessor overrides

:::::: TO: Thierry Reding <treding@xxxxxxxxxx>
:::::: CC: Thierry Reding <treding@xxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data