lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201703290457.BJ1KohSr%fengguang.wu@intel.com>
Date:   Wed, 29 Mar 2017 04:10:37 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     kbuild-all@...org, Mauro Carvalho Chehab <mchehab@...nel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Alan Cox <alan@...ux.intel.com>, devel@...verdev.osuosl.org,
        Arnd Bergmann <arnd@...db.de>,
        Varsha Rao <rvarsha016@...il.com>,
        sayli karnik <karniksayli1995@...il.com>,
        linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: Re: [PATCH] staging: atomisp: avoid false-positive
 maybe-uninitialized warning

Hi Arnd,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on next-20170328]
[cannot apply to linuxtv-media/master v4.11-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Arnd-Bergmann/staging-atomisp-avoid-false-positive-maybe-uninitialized-warning/20170329-023715
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/staging/media/atomisp/i2c/mt9m114.c: In function 'mt9m114_get_fmt':
>> drivers/staging/media/atomisp/i2c/mt9m114.c:818:25: error: unused variable 'dev' [-Werror=unused-variable]
     struct mt9m114_device *dev = to_mt9m114_sensor(sd);
                            ^~~
   drivers/staging/media/atomisp/i2c/mt9m114.c: In function 'mt9m114_s_exposure_selection':
   drivers/staging/media/atomisp/i2c/mt9m114.c:1179:25: error: unused variable 'dev' [-Werror=unused-variable]
     struct mt9m114_device *dev = to_mt9m114_sensor(sd);
                            ^~~
   cc1: all warnings being treated as errors

vim +/dev +818 drivers/staging/media/atomisp/i2c/mt9m114.c

a49d2536 Alan Cox 2017-02-17  812  
a49d2536 Alan Cox 2017-02-17  813  static int mt9m114_get_fmt(struct v4l2_subdev *sd,
a49d2536 Alan Cox 2017-02-17  814  				struct v4l2_subdev_pad_config *cfg,
a49d2536 Alan Cox 2017-02-17  815  				struct v4l2_subdev_format *format)
a49d2536 Alan Cox 2017-02-17  816  {
a49d2536 Alan Cox 2017-02-17  817      struct v4l2_mbus_framefmt *fmt = &format->format;
a49d2536 Alan Cox 2017-02-17 @818  	struct mt9m114_device *dev = to_mt9m114_sensor(sd);
a49d2536 Alan Cox 2017-02-17  819  	int width, height;
a49d2536 Alan Cox 2017-02-17  820  	int ret;
a49d2536 Alan Cox 2017-02-17  821  	if (format->pad)

:::::: The code at line 818 was first introduced by commit
:::::: a49d25364dfb9f8a64037488a39ab1f56c5fa419 staging/atomisp: Add support for the Intel IPU v2

:::::: TO: Alan Cox <alan@...ux.intel.com>
:::::: CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

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

Download attachment ".config.gz" of type "application/gzip" (59110 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ