Subject: [PATCH v5 1/2] ehci-platform: Add support for controllers with multiple reset lines

From: [email-masked] (Hans de Goede)
Date: Sun, 10 Apr 2016 10:42:52 +0200

Hi,

On 10-04-16 00:44, kbuild test robot wrote:
> Hi Reinder,
>
> [auto build test ERROR on robh/for-next]
> [also build test ERROR on v4.6-rc2 next-20160408]
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

As mentioned in the cover letter, these 2 patches depend on this stable-tag:

git://git.pengutronix.de/git/pza/linux.git tags/reset-for-4.7

Being merged into the tree where they get applied first.

Regards,

Hans

>
> url:    https://github.com/0day-ci/linux/commits/Hans-de-Goede/hci-platform-Add-support-for-controllers-with-more-then-one-reset-line/20160409-221746
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next
> config: i386-allmodconfig (attached as .config)
> reproduce:
>          # save the attached .config to linux build tree
>          make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
>     drivers/usb/host/ehci-platform.c: In function 'ehci_platform_probe':
>>> drivers/usb/host/ehci-platform.c:239:5: error: implicit declaration of function 'devm_reset_control_get_shared_by_index' [-Werror=implicit-function-declaration]
>          devm_reset_control_get_shared_by_index(
>          ^
>     drivers/usb/host/ehci-platform.c:238:22: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
>         priv->resets[rst] =
>                           ^
>     cc1: some warnings being treated as errors
>
> vim +/devm_reset_control_get_shared_by_index +239 drivers/usb/host/ehci-platform.c
>
>     233					break;
>     234				}
>     235			}
>     236	
>     237			for (rst = 0; rst < EHCI_MAX_RESETS; rst++) {
>     238				priv->resets[rst] =
>   > 239					devm_reset_control_get_shared_by_index(
>     240									&dev->dev, rst);
>     241				if (IS_ERR(priv->resets[rst])) {
>     242					err = PTR_ERR(priv->resets[rst]);
>
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
>