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] [day] [month] [year] [list]
Message-ID: <201710301745.IcembUO9%fengguang.wu@intel.com>
Date:   Mon, 30 Oct 2017 18:02:06 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Wenyou Yang <wenyou.yang@...rochip.com>
Cc:     kbuild-all@...org,
        Mauro Carvalho Chehab <mchehab@...pensource.com>,
        Rob Herring <robh+dt@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        linux-kernel@...r.kernel.org,
        Nicolas Ferre <nicolas.ferre@...rochip.com>,
        devicetree@...r.kernel.org, Sakari Ailus <sakari.ailus@....fi>,
        Jonathan Corbet <corbet@....net>,
        Hans Verkuil <hverkuil@...all.nl>,
        linux-arm-kernel@...ts.infradead.org,
        Linux Media Mailing List <linux-media@...r.kernel.org>,
        Wenyou Yang <wenyou.yang@...rochip.com>,
        Songjun Wu <songjun.wu@...rochip.com>
Subject: Re: [PATCH v2 1/2] media: i2c: Add the ov7740 image sensor driver

Hi Wenyou,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v4.14-rc7 next-20171018]
[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/Wenyou-Yang/media-i2c-Add-the-ov7740-image-sensor-driver/20171030-140347
base:   git://linuxtv.org/media_tree.git master
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

All warnings (new ones prefixed by >>):

>> drivers/media/i2c/ov7740.c:57:0: warning: "REG_REG15" redefined
    #define REG_REG15 0x15
    
   In file included from arch/sh/include/asm/ptrace_32.h:4:0,
                    from arch/sh/include/uapi/asm/ptrace.h:30,
                    from arch/sh/include/asm/ptrace.h:13,
                    from include/linux/irq.h:28,
                    from include/linux/gpio/driver.h:6,
                    from include/asm-generic/gpio.h:12,
                    from arch/sh/include/asm/gpio.h:23,
                    from include/linux/gpio.h:48,
                    from drivers/media/i2c/ov7740.c:16:
   arch/sh/include/uapi/asm/ptrace_32.h:20:0: note: this is the location of the previous definition
    #define REG_REG15 15
    
   In file included from drivers/media/i2c/ov7740.c:21:0:
   drivers/media/i2c/ov7740.c: In function 'ov7740_set_ctrl':
   include/linux/regmap.h:73:2: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
     regmap_update_bits_base(map, reg, mask, val, NULL, false, false)
     ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/ov7740.c:512:5: note: 'val' was declared here
     u8 val;
        ^~~

vim +/REG_REG15 +57 drivers/media/i2c/ov7740.c

    55	
    56	#define REG_REG14	0x14
  > 57	#define REG_REG15	0x15
    58	#define REG15_GAIN_MSB	0x03
    59	

---
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" (46548 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ