Re: [PATCH v5] rtc: omap: Support ext_wakeup configuration

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

 




Hi Marcin,

[auto build test ERROR on abelloni/rtc-next]
[also build test ERROR on v4.8-rc5 next-20160908]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Marcin-Niestroj/rtc-omap-Support-ext_wakeup-configuration/20160908-190900
base:   https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
config: blackfin-allmodconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 4.6.3
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=blackfin 

All errors (new ones prefixed by >>):

   drivers/rtc/rtc-omap.c:535:38: error: array type has incomplete element type
   drivers/rtc/rtc-omap.c:536:2: error: implicit declaration of function 'PINCTRL_PIN' [-Werror=implicit-function-declaration]
   drivers/rtc/rtc-omap.c:553:21: error: variable 'rtc_pinctrl_ops' has initializer but incomplete type
   drivers/rtc/rtc-omap.c:554:2: error: unknown field 'get_groups_count' specified in initializer
   drivers/rtc/rtc-omap.c:554:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:554:2: warning: (near initialization for 'rtc_pinctrl_ops') [enabled by default]
   drivers/rtc/rtc-omap.c:555:2: error: unknown field 'get_group_name' specified in initializer
   drivers/rtc/rtc-omap.c:555:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:555:2: warning: (near initialization for 'rtc_pinctrl_ops') [enabled by default]
   drivers/rtc/rtc-omap.c:556:2: error: unknown field 'dt_node_to_map' specified in initializer
   drivers/rtc/rtc-omap.c:556:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:556:2: warning: (near initialization for 'rtc_pinctrl_ops') [enabled by default]
   drivers/rtc/rtc-omap.c:557:2: error: unknown field 'dt_free_map' specified in initializer
   drivers/rtc/rtc-omap.c:557:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:557:2: warning: (near initialization for 'rtc_pinctrl_ops') [enabled by default]
   drivers/rtc/rtc-omap.c: In function 'rtc_pinconf_get':
   drivers/rtc/rtc-omap.c:577:9: error: implicit declaration of function 'pinctrl_dev_get_drvdata' [-Werror=implicit-function-declaration]
   drivers/rtc/rtc-omap.c:577:25: warning: initialization makes pointer from integer without a cast [enabled by default]
   drivers/rtc/rtc-omap.c: In function 'rtc_pinconf_set':
   drivers/rtc/rtc-omap.c:608:25: warning: initialization makes pointer from integer without a cast [enabled by default]
   drivers/rtc/rtc-omap.c: At top level:
   drivers/rtc/rtc-omap.c:649:21: error: variable 'rtc_pinconf_ops' has initializer but incomplete type
   drivers/rtc/rtc-omap.c:650:2: error: unknown field 'is_generic' specified in initializer
   drivers/rtc/rtc-omap.c:650:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:650:2: warning: (near initialization for 'rtc_pinconf_ops') [enabled by default]
   drivers/rtc/rtc-omap.c:651:2: error: unknown field 'pin_config_get' specified in initializer
   drivers/rtc/rtc-omap.c:651:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:651:2: warning: (near initialization for 'rtc_pinconf_ops') [enabled by default]
   drivers/rtc/rtc-omap.c:652:2: error: unknown field 'pin_config_set' specified in initializer
   drivers/rtc/rtc-omap.c:652:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:652:2: warning: (near initialization for 'rtc_pinconf_ops') [enabled by default]
   drivers/rtc/rtc-omap.c:655:15: error: variable 'rtc_pinctrl_desc' has initializer but incomplete type
   drivers/rtc/rtc-omap.c:656:2: error: unknown field 'pins' specified in initializer
   drivers/rtc/rtc-omap.c:656:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:656:2: warning: (near initialization for 'rtc_pinctrl_desc') [enabled by default]
   drivers/rtc/rtc-omap.c:657:2: error: unknown field 'npins' specified in initializer
>> drivers/rtc/rtc-omap.c:657:11: error: negative width in bit-field '<anonymous>'
   drivers/rtc/rtc-omap.c:657:11: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:657:11: warning: (near initialization for 'rtc_pinctrl_desc') [enabled by default]
   drivers/rtc/rtc-omap.c:658:2: error: unknown field 'pctlops' specified in initializer
   drivers/rtc/rtc-omap.c:658:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:658:2: warning: (near initialization for 'rtc_pinctrl_desc') [enabled by default]
   drivers/rtc/rtc-omap.c:659:2: error: unknown field 'confops' specified in initializer
   drivers/rtc/rtc-omap.c:659:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:659:2: warning: (near initialization for 'rtc_pinctrl_desc') [enabled by default]
   drivers/rtc/rtc-omap.c:660:2: error: unknown field 'custom_params' specified in initializer
   drivers/rtc/rtc-omap.c:660:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:660:2: warning: (near initialization for 'rtc_pinctrl_desc') [enabled by default]
   drivers/rtc/rtc-omap.c:661:2: error: unknown field 'num_custom_params' specified in initializer
   drivers/rtc/rtc-omap.c:661:23: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:661:23: warning: (near initialization for 'rtc_pinctrl_desc') [enabled by default]
   drivers/rtc/rtc-omap.c:663:2: error: unknown field 'custom_conf_items' specified in initializer
   drivers/rtc/rtc-omap.c:663:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:663:2: warning: (near initialization for 'rtc_pinctrl_desc') [enabled by default]
   drivers/rtc/rtc-omap.c:665:2: error: unknown field 'owner' specified in initializer
   drivers/rtc/rtc-omap.c:665:2: warning: excess elements in struct initializer [enabled by default]
   drivers/rtc/rtc-omap.c:665:2: warning: (near initialization for 'rtc_pinctrl_desc') [enabled by default]
   drivers/rtc/rtc-omap.c: In function 'omap_rtc_probe':
   drivers/rtc/rtc-omap.c:825:2: error: invalid use of undefined type 'struct pinctrl_desc'
   drivers/rtc/rtc-omap.c:827:2: error: implicit declaration of function 'pinctrl_register' [-Werror=implicit-function-declaration]
   drivers/rtc/rtc-omap.c:827:15: warning: assignment makes pointer from integer without a cast [enabled by default]
   drivers/rtc/rtc-omap.c: In function 'omap_rtc_remove':
   drivers/rtc/rtc-omap.c:877:2: error: implicit declaration of function 'pinctrl_unregister' [-Werror=implicit-function-declaration]
   drivers/rtc/rtc-omap.c: At top level:
   drivers/rtc/rtc-omap.c:535:38: warning: 'rtc_pins_desc' defined but not used [-Wunused-variable]
   cc1: some warnings being treated as errors

vim +657 drivers/rtc/rtc-omap.c

   645	
   646		return 0;
   647	}
   648	
   649	static const struct pinconf_ops rtc_pinconf_ops = {
   650		.is_generic = true,
 > 651		.pin_config_get = rtc_pinconf_get,
   652		.pin_config_set = rtc_pinconf_set,
   653	};
   654	
   655	static struct pinctrl_desc rtc_pinctrl_desc = {
   656		.pins = rtc_pins_desc,
 > 657		.npins = ARRAY_SIZE(rtc_pins_desc),
   658		.pctlops = &rtc_pinctrl_ops,
   659		.confops = &rtc_pinconf_ops,
   660		.custom_params = rtc_params,

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