From: kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Vivek Gautam
<vivek.gautam-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Felipe Balbi <balbi-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Greg Kroah-Hartman
<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Philipp Zabel <p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Subject: Re: [PATCH v5 3/6] reset: hide reset control arrays behind struct reset_control
Date: Fri, 2 Jun 2017 07:09:42 +0800 [thread overview]
Message-ID: <201706020757.Jn8M19tb%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170601165203.15315-4-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 4386 bytes --]
Hi Philipp,
[auto build test ERROR on pza/reset/next]
[also build test ERROR on v4.12-rc3 next-20170601]
[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/Philipp-Zabel/reset-APIs-to-manage-a-list-of-resets/20170602-062536
base: git://git.pengutronix.de/git/pza/linux reset/next
config: i386-randconfig-x074-06010927 (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 >>):
In file included from drivers/usb/dwc2/platform.c:48:0:
include/linux/reset.h: In function 'devm_reset_control_array_get_exclusive':
>> include/linux/reset.h:406:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return devm_reset_control_array_get(dev, false, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'devm_reset_control_array_get_shared':
include/linux/reset.h:412:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return devm_reset_control_array_get(dev, true, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'devm_reset_control_array_get_optional_exclusive':
include/linux/reset.h:418:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return devm_reset_control_array_get(dev, false, true);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'devm_reset_control_array_get_optional_shared':
include/linux/reset.h:424:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return devm_reset_control_array_get(dev, true, true);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'of_reset_control_array_get_exclusive':
include/linux/reset.h:430:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return of_reset_control_array_get(node, false, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'of_reset_control_array_get_shared':
include/linux/reset.h:436:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return of_reset_control_array_get(node, true, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'of_reset_control_array_get_optional_exclusive':
include/linux/reset.h:442:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return of_reset_control_array_get(node, false, true);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'of_reset_control_array_get_optional_shared':
include/linux/reset.h:448:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return of_reset_control_array_get(node, true, true);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +406 include/linux/reset.h
1b1b64c5 Vivek Gautam 2017-06-01 400 /*
1b1b64c5 Vivek Gautam 2017-06-01 401 * APIs to manage a list of reset controllers
1b1b64c5 Vivek Gautam 2017-06-01 402 */
1abcb861 Philipp Zabel 2017-06-01 403 static inline struct reset_control *
1b1b64c5 Vivek Gautam 2017-06-01 404 devm_reset_control_array_get_exclusive(struct device *dev)
1b1b64c5 Vivek Gautam 2017-06-01 405 {
1b1b64c5 Vivek Gautam 2017-06-01 @406 return devm_reset_control_array_get(dev, false, false);
1b1b64c5 Vivek Gautam 2017-06-01 407 }
1b1b64c5 Vivek Gautam 2017-06-01 408
1abcb861 Philipp Zabel 2017-06-01 409 static inline struct reset_control *
:::::: The code at line 406 was first introduced by commit
:::::: 1b1b64c55c5f63e050938df44e1ccee33cfeee94 reset: Add APIs to manage array of resets
:::::: TO: Vivek Gautam <vivek.gautam-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
:::::: CC: 0day robot <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23844 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Vivek Gautam <vivek.gautam@codeaurora.org>,
Jon Hunter <jonathanh@nvidia.com>,
Felipe Balbi <balbi@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Thierry Reding <treding@nvidia.com>,
linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org,
linux-arm-msm@vger.kernel.org,
Philipp Zabel <p.zabel@pengutronix.de>
Subject: Re: [PATCH v5 3/6] reset: hide reset control arrays behind struct reset_control
Date: Fri, 2 Jun 2017 07:09:42 +0800 [thread overview]
Message-ID: <201706020757.Jn8M19tb%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170601165203.15315-4-p.zabel@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 4331 bytes --]
Hi Philipp,
[auto build test ERROR on pza/reset/next]
[also build test ERROR on v4.12-rc3 next-20170601]
[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/Philipp-Zabel/reset-APIs-to-manage-a-list-of-resets/20170602-062536
base: git://git.pengutronix.de/git/pza/linux reset/next
config: i386-randconfig-x074-06010927 (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 >>):
In file included from drivers/usb/dwc2/platform.c:48:0:
include/linux/reset.h: In function 'devm_reset_control_array_get_exclusive':
>> include/linux/reset.h:406:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return devm_reset_control_array_get(dev, false, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'devm_reset_control_array_get_shared':
include/linux/reset.h:412:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return devm_reset_control_array_get(dev, true, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'devm_reset_control_array_get_optional_exclusive':
include/linux/reset.h:418:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return devm_reset_control_array_get(dev, false, true);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'devm_reset_control_array_get_optional_shared':
include/linux/reset.h:424:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return devm_reset_control_array_get(dev, true, true);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'of_reset_control_array_get_exclusive':
include/linux/reset.h:430:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return of_reset_control_array_get(node, false, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'of_reset_control_array_get_shared':
include/linux/reset.h:436:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return of_reset_control_array_get(node, true, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'of_reset_control_array_get_optional_exclusive':
include/linux/reset.h:442:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return of_reset_control_array_get(node, false, true);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/reset.h: In function 'of_reset_control_array_get_optional_shared':
include/linux/reset.h:448:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
return of_reset_control_array_get(node, true, true);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +406 include/linux/reset.h
1b1b64c5 Vivek Gautam 2017-06-01 400 /*
1b1b64c5 Vivek Gautam 2017-06-01 401 * APIs to manage a list of reset controllers
1b1b64c5 Vivek Gautam 2017-06-01 402 */
1abcb861 Philipp Zabel 2017-06-01 403 static inline struct reset_control *
1b1b64c5 Vivek Gautam 2017-06-01 404 devm_reset_control_array_get_exclusive(struct device *dev)
1b1b64c5 Vivek Gautam 2017-06-01 405 {
1b1b64c5 Vivek Gautam 2017-06-01 @406 return devm_reset_control_array_get(dev, false, false);
1b1b64c5 Vivek Gautam 2017-06-01 407 }
1b1b64c5 Vivek Gautam 2017-06-01 408
1abcb861 Philipp Zabel 2017-06-01 409 static inline struct reset_control *
:::::: The code at line 406 was first introduced by commit
:::::: 1b1b64c55c5f63e050938df44e1ccee33cfeee94 reset: Add APIs to manage array of resets
:::::: TO: Vivek Gautam <vivek.gautam@codeaurora.org>
:::::: CC: 0day robot <fengguang.wu@intel.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23844 bytes --]
next prev parent reply other threads:[~2017-06-01 23:09 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-01 16:51 [PATCH v5 0/6] reset: APIs to manage a list of resets Philipp Zabel
2017-06-01 16:51 ` [PATCH v5 2/6] reset: Add APIs to manage array " Philipp Zabel
[not found] ` <20170601165203.15315-1-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-06-01 16:51 ` [PATCH v5 1/6] reset: use kref for reference counting Philipp Zabel
2017-06-01 16:51 ` Philipp Zabel
2017-06-01 16:52 ` [PATCH v5 3/6] reset: hide reset control arrays behind struct reset_control Philipp Zabel
2017-06-01 16:52 ` Philipp Zabel
[not found] ` <20170601165203.15315-4-p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-06-01 23:09 ` kbuild test robot [this message]
2017-06-01 23:09 ` kbuild test robot
2017-06-02 0:12 ` kbuild test robot
2017-06-02 0:12 ` kbuild test robot
2017-06-13 6:46 ` Vivek Gautam
2017-06-19 12:18 ` Philipp Zabel
2017-06-19 13:06 ` Vivek Gautam
2017-06-01 16:52 ` [PATCH v5 5/6] usb: dwc3: of-simple: Add support to get resets for the device Philipp Zabel
2017-06-01 16:52 ` Philipp Zabel
2017-06-01 16:52 ` [PATCH v5 6/6] soc/tegra: pmc: Use the new reset APIs to manage reset controllers Philipp Zabel
2017-06-01 16:52 ` Philipp Zabel
2017-06-19 12:37 ` Philipp Zabel
2017-06-13 7:05 ` [PATCH v5 0/6] reset: APIs to manage a list of resets Vivek Gautam
2017-06-13 7:05 ` Vivek Gautam
2017-06-01 16:52 ` [PATCH v5 4/6] usb: dwc3: of-simple: Re-order resource handling in remove Philipp Zabel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201706020757.Jn8M19tb%fengguang.wu@intel.com \
--to=lkp-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=balbi-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=kbuild-all-JC7UmRfGjtg@public.gmane.org \
--cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=vivek.gautam-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.