Re: [PATCH 1/3] mfd: arizona: Support Cirrus Logic CS47L24 and WM1831

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Richard,

[auto build test WARNING on next-20151016 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Richard-Fitzgerald/Add-support-for-Cirrus-Logic-CS47L24-and-WM1831-codecs/20151019-203503
config: tile-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
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

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 >>):

   drivers/mfd/arizona-core.c: In function 'arizona_dev_init':
>> drivers/mfd/arizona-core.c:1282:2: warning: 'type_name' may be used uninitialized in this function [-Wuninitialized]

vim +/type_name +1282 drivers/mfd/arizona-core.c

6887b042 Richard Fitzgerald 2015-07-03  1266  			apply_patch = wm8998_patch;
d9ad0cff Richard Fitzgerald 2015-10-02  1267  			subdevs = wm8998_devs;
d9ad0cff Richard Fitzgerald 2015-10-02  1268  			n_subdevs = ARRAY_SIZE(wm8998_devs);
c9ca1ca2 Richard Fitzgerald 2015-10-02  1269  		}
6887b042 Richard Fitzgerald 2015-07-03  1270  		break;
ca76ceb8 Mark Brown         2013-04-09  1271  	default:
ca76ceb8 Mark Brown         2013-04-09  1272  		dev_err(arizona->dev, "Unknown device ID %x\n", reg);
ca76ceb8 Mark Brown         2013-04-09  1273  		goto err_reset;
ca76ceb8 Mark Brown         2013-04-09  1274  	}
ca76ceb8 Mark Brown         2013-04-09  1275  
c9ca1ca2 Richard Fitzgerald 2015-10-02  1276  	if (!subdevs) {
c9ca1ca2 Richard Fitzgerald 2015-10-02  1277  		dev_err(arizona->dev,
c9ca1ca2 Richard Fitzgerald 2015-10-02  1278  			"No kernel support for device ID %x\n", reg);
c9ca1ca2 Richard Fitzgerald 2015-10-02  1279  		goto err_reset;
c9ca1ca2 Richard Fitzgerald 2015-10-02  1280  	}
c9ca1ca2 Richard Fitzgerald 2015-10-02  1281  
ca76ceb8 Mark Brown         2013-04-09 @1282  	dev_info(dev, "%s revision %c\n", type_name, arizona->rev + 'A');
ca76ceb8 Mark Brown         2013-04-09  1283  
62d62b59 Mark Brown         2012-12-02  1284  	if (apply_patch) {
62d62b59 Mark Brown         2012-12-02  1285  		ret = apply_patch(arizona);
62d62b59 Mark Brown         2012-12-02  1286  		if (ret != 0) {
62d62b59 Mark Brown         2012-12-02  1287  			dev_err(arizona->dev, "Failed to apply patch: %d\n",
62d62b59 Mark Brown         2012-12-02  1288  				ret);
62d62b59 Mark Brown         2012-12-02  1289  			goto err_reset;
62d62b59 Mark Brown         2012-12-02  1290  		}

:::::: The code at line 1282 was first introduced by commit
:::::: ca76ceb8b9ca1466be9b6de5e4c0fb19b37417ee mfd: arizona: Read the device identification information after boot

:::::: TO: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
:::::: CC: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux