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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201601310100.PdaQtSVX%fengguang.wu@intel.com>
Date:	Sun, 31 Jan 2016 01:52:10 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Laxman Dewangan <ldewangan@...dia.com>
Cc:	kbuild-all@...org, robh+dt@...nel.org, pawel.moll@....com,
	mark.rutland@....com, ijc+devicetree@...lion.org.uk,
	galak@...eaurora.org, linus.walleij@...aro.org, gnurou@...il.com,
	lee.jones@...aro.org, broonie@...nel.org, a.zummo@...ertech.it,
	alexandre.belloni@...e-electrons.com, lgirdwood@...il.com,
	devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
	linux-gpio@...r.kernel.org, rtc-linux@...glegroups.com,
	swarren@...dia.com, treding@...dia.com, k.kozlowski@...sung.com,
	vreddytalla@...dia.com, Laxman Dewangan <ldewangan@...dia.com>,
	Mallikarjun Kasoju <mkasoju@...dia.com>
Subject: Re: [PATCH V7 2/8] mfd: max77620: add core driver for
 MAX77620/MAX20024

Hi Laxman,

[auto build test WARNING on pinctrl/for-next]
[also build test WARNING on v4.5-rc1 next-20160129]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Laxman-Dewangan/Add-support-for-MAXIM-MAX77620-MAX20024-PMIC/20160131-005355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git for-next
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
        # save the attached .config to linux build tree
        make.cross ARCH=sh 

All warnings (new ones prefixed by >>):

   drivers/mfd/max77620.c:57:2: error: implicit declaration of function 'DEFINE_MFD_CELL_NAME' [-Werror=implicit-function-declaration]
>> drivers/mfd/max77620.c:57:2: warning: missing braces around initializer [-Wmissing-braces]
   drivers/mfd/max77620.c:57:2: warning: (near initialization for 'max77620_children[0]') [-Wmissing-braces]
   drivers/mfd/max77620.c:57:2: error: initializer element is not constant
   drivers/mfd/max77620.c:57:2: error: (near initialization for 'max77620_children[0].name')
   drivers/mfd/max77620.c:58:2: error: implicit declaration of function 'DEFINE_MFD_CELL_NAME_RESOURCE' [-Werror=implicit-function-declaration]
   drivers/mfd/max77620.c:58:2: error: initializer element is not constant
   drivers/mfd/max77620.c:58:2: error: (near initialization for 'max77620_children[0].id')
   drivers/mfd/max77620.c:59:2: error: initializer element is not constant
   drivers/mfd/max77620.c:59:2: error: (near initialization for 'max77620_children[0].usage_count')
   drivers/mfd/max77620.c:60:2: error: initializer element is not constant
   drivers/mfd/max77620.c:60:2: error: (near initialization for 'max77620_children[0].enable')
   drivers/mfd/max77620.c:61:2: error: initializer element is not constant
   drivers/mfd/max77620.c:61:2: error: (near initialization for 'max77620_children[0].disable')
   drivers/mfd/max77620.c:62:2: error: initializer element is not constant
   drivers/mfd/max77620.c:62:2: error: (near initialization for 'max77620_children[0].suspend')
   drivers/mfd/max77620.c:63:2: error: initializer element is not constant
   drivers/mfd/max77620.c:63:2: error: (near initialization for 'max77620_children[0].resume')
   drivers/mfd/max77620.c:64:2: error: initializer element is not constant
   drivers/mfd/max77620.c:64:2: error: (near initialization for 'max77620_children[0].platform_data')
   drivers/mfd/max77620.c:68:2: warning: missing braces around initializer [-Wmissing-braces]
   drivers/mfd/max77620.c:68:2: warning: (near initialization for 'max20024_children[0]') [-Wmissing-braces]
   drivers/mfd/max77620.c:68:2: error: initializer element is not constant
   drivers/mfd/max77620.c:68:2: error: (near initialization for 'max20024_children[0].name')
   drivers/mfd/max77620.c:69:2: error: initializer element is not constant
   drivers/mfd/max77620.c:69:2: error: (near initialization for 'max20024_children[0].id')
   drivers/mfd/max77620.c:70:2: error: initializer element is not constant
   drivers/mfd/max77620.c:70:2: error: (near initialization for 'max20024_children[0].usage_count')
   drivers/mfd/max77620.c:71:2: error: initializer element is not constant
   drivers/mfd/max77620.c:71:2: error: (near initialization for 'max20024_children[0].enable')
   drivers/mfd/max77620.c:72:2: error: initializer element is not constant
   drivers/mfd/max77620.c:72:2: error: (near initialization for 'max20024_children[0].disable')
   drivers/mfd/max77620.c:73:2: error: initializer element is not constant
   drivers/mfd/max77620.c:73:2: error: (near initialization for 'max20024_children[0].suspend')
   drivers/mfd/max77620.c:74:2: error: initializer element is not constant
   drivers/mfd/max77620.c:74:2: error: (near initialization for 'max20024_children[0].resume')
   cc1: some warnings being treated as errors

vim +57 drivers/mfd/max77620.c

    41	};
    42	
    43	static const struct regmap_irq max77620_top_irqs[] = {
    44		REGMAP_IRQ_REG(MAX77620_IRQ_TOP_GLBL, 0, MAX77620_IRQ_TOP_GLBL_MASK),
    45		REGMAP_IRQ_REG(MAX77620_IRQ_TOP_SD, 0, MAX77620_IRQ_TOP_SD_MASK),
    46		REGMAP_IRQ_REG(MAX77620_IRQ_TOP_LDO, 0, MAX77620_IRQ_TOP_LDO_MASK),
    47		REGMAP_IRQ_REG(MAX77620_IRQ_TOP_GPIO, 0, MAX77620_IRQ_TOP_GPIO_MASK),
    48		REGMAP_IRQ_REG(MAX77620_IRQ_TOP_RTC, 0, MAX77620_IRQ_TOP_RTC_MASK),
    49		REGMAP_IRQ_REG(MAX77620_IRQ_TOP_32K, 0, MAX77620_IRQ_TOP_32K_MASK),
    50		REGMAP_IRQ_REG(MAX77620_IRQ_TOP_ONOFF, 0, MAX77620_IRQ_TOP_ONOFF_MASK),
    51		REGMAP_IRQ_REG(MAX77620_IRQ_LBT_MBATLOW, 1, MAX77620_IRQ_LBM_MASK),
    52		REGMAP_IRQ_REG(MAX77620_IRQ_LBT_TJALRM1, 1, MAX77620_IRQ_TJALRM1_MASK),
    53		REGMAP_IRQ_REG(MAX77620_IRQ_LBT_TJALRM2, 1, MAX77620_IRQ_TJALRM2_MASK),
    54	};
    55	
    56	static struct mfd_cell max77620_children[] = {
  > 57		DEFINE_MFD_CELL_NAME("max77620-pinctrl"),
    58		DEFINE_MFD_CELL_NAME_RESOURCE("max77620-gpio", gpio_resources),
    59		DEFINE_MFD_CELL_NAME("max77620-pmic"),
    60		DEFINE_MFD_CELL_NAME_RESOURCE("max77620-rtc", rtc_resources),
    61		DEFINE_MFD_CELL_NAME_RESOURCE("max77620-power", power_resources),
    62		DEFINE_MFD_CELL_NAME("max77620-watchdog"),
    63		DEFINE_MFD_CELL_NAME("max77620-clock"),
    64		DEFINE_MFD_CELL_NAME_RESOURCE("max77620-thermal", thermal_resources),
    65	};

---
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/octet-stream" (38572 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ