* [balbi-usb:testing/next 45/57] drivers/usb/dwc2/core.c:438:13: error: static declaration of 'dwc2_clear_force_mode' follows non-static declaration
@ 2018-02-15 13:29 kbuild test robot
[not found] ` <201802152134.OH8x0B2I%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2018-02-15 13:29 UTC (permalink / raw)
To: Grigor Tovmasyan
Cc: kbuild-all-JC7UmRfGjtg, linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-omap-u79uwXL29TY76Z2rM5mHXA, Felipe Balbi
[-- Attachment #1: Type: text/plain, Size: 2022 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next
head: 65223a0ed97c8c4b18c4899653745058f87d67e3
commit: 4caf1fe8fb537388810a4c8fecfa5324b26f80ea [45/57] usb: dwc2: Make dwc2_force_mode() static
config: i386-randconfig-x072-201806 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 4caf1fe8fb537388810a4c8fecfa5324b26f80ea
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
>> drivers/usb/dwc2/core.c:438:13: error: static declaration of 'dwc2_clear_force_mode' follows non-static declaration
static void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg)
^~~~~~~~~~~~~~~~~~~~~
In file included from drivers/usb/dwc2/core.c:57:0:
drivers/usb/dwc2/core.h:1101:6: note: previous declaration of 'dwc2_clear_force_mode' was here
void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg);
^~~~~~~~~~~~~~~~~~~~~
vim +/dwc2_clear_force_mode +438 drivers/usb/dwc2/core.c
428
429 /**
430 * dwc2_clear_force_mode() - Clears the force mode bits.
431 *
432 * After clearing the bits, wait up to 100 ms to account for any
433 * potential IDDIG filter delay. We can't know if we expect this delay
434 * or not because the value of the connector ID status is affected by
435 * the force mode. We only need to call this once during probe if
436 * dr_mode == OTG.
437 */
> 438 static void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg)
439 {
440 u32 gusbcfg;
441
442 gusbcfg = dwc2_readl(hsotg->regs + GUSBCFG);
443 gusbcfg &= ~GUSBCFG_FORCEHOSTMODE;
444 gusbcfg &= ~GUSBCFG_FORCEDEVMODE;
445 dwc2_writel(gusbcfg, hsotg->regs + GUSBCFG);
446
447 if (dwc2_iddig_filter_enabled(hsotg))
448 msleep(100);
449 }
450
---
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: 27087 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [balbi-usb:testing/next 45/57] drivers/usb/dwc2/core.c:438:13: error: static declaration of 'dwc2_clear_force_mode' follows non-static declaration
[not found] ` <201802152134.OH8x0B2I%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2018-02-15 13:33 ` Felipe Balbi
2018-02-15 14:37 ` Grigor Tovmasyan
0 siblings, 1 reply; 3+ messages in thread
From: Felipe Balbi @ 2018-02-15 13:33 UTC (permalink / raw)
To: kbuild test robot, Grigor Tovmasyan
Cc: kbuild-all-JC7UmRfGjtg, linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-omap-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]
Hi,
kbuild test robot <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> writes:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next
> head: 65223a0ed97c8c4b18c4899653745058f87d67e3
> commit: 4caf1fe8fb537388810a4c8fecfa5324b26f80ea [45/57] usb: dwc2: Make dwc2_force_mode() static
> config: i386-randconfig-x072-201806 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> git checkout 4caf1fe8fb537388810a4c8fecfa5324b26f80ea
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
>>> drivers/usb/dwc2/core.c:438:13: error: static declaration of 'dwc2_clear_force_mode' follows non-static declaration
> static void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg)
> ^~~~~~~~~~~~~~~~~~~~~
> In file included from drivers/usb/dwc2/core.c:57:0:
> drivers/usb/dwc2/core.h:1101:6: note: previous declaration of 'dwc2_clear_force_mode' was here
> void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg);
> ^~~~~~~~~~~~~~~~~~~~~
>
> vim +/dwc2_clear_force_mode +438 drivers/usb/dwc2/core.c
>
> 428
> 429 /**
> 430 * dwc2_clear_force_mode() - Clears the force mode bits.
> 431 *
> 432 * After clearing the bits, wait up to 100 ms to account for any
> 433 * potential IDDIG filter delay. We can't know if we expect this delay
> 434 * or not because the value of the connector ID status is affected by
> 435 * the force mode. We only need to call this once during probe if
> 436 * dr_mode == OTG.
> 437 */
> > 438 static void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg)
patch dropped.
--
balbi
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [balbi-usb:testing/next 45/57] drivers/usb/dwc2/core.c:438:13: error: static declaration of 'dwc2_clear_force_mode' follows non-static declaration
2018-02-15 13:33 ` Felipe Balbi
@ 2018-02-15 14:37 ` Grigor Tovmasyan
0 siblings, 0 replies; 3+ messages in thread
From: Grigor Tovmasyan @ 2018-02-15 14:37 UTC (permalink / raw)
To: Felipe Balbi, kbuild test robot, Grigor Tovmasyan
Cc: kbuild-all-JC7UmRfGjtg, linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-omap-u79uwXL29TY76Z2rM5mHXA
Hi Balbi
On 2/15/2018 17:34, Felipe Balbi wrote:
>
> Hi,
>
> kbuild test robot <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> writes:
>> tree: https://urldefense.proofpoint.com/v2/url?u=https-3A__git.kernel.org_pub_scm_linux_kernel_git_balbi_usb.git&d=DwIFAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=K1ULVL1slpLXpMJJlAXSOxws4tRq0IkTBqxDkyW2hUQ&m=2Hq2CZMELUidsi9x-Kqf4yuAh4IoxCX3Th1gZtmyZmc&s=Kw25jbj17VVP-cEEsCvpsfmS6NIuM8JAI8vfOtC2Nt4&e= testing/next
>> head: 65223a0ed97c8c4b18c4899653745058f87d67e3
>> commit: 4caf1fe8fb537388810a4c8fecfa5324b26f80ea [45/57] usb: dwc2: Make dwc2_force_mode() static
>> config: i386-randconfig-x072-201806 (attached as .config)
>> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
>> reproduce:
>> git checkout 4caf1fe8fb537388810a4c8fecfa5324b26f80ea
>> # save the attached .config to linux build tree
>> make ARCH=i386
>>
>> All errors (new ones prefixed by >>):
>>
>>>> drivers/usb/dwc2/core.c:438:13: error: static declaration of 'dwc2_clear_force_mode' follows non-static declaration
>> static void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg)
>> ^~~~~~~~~~~~~~~~~~~~~
>> In file included from drivers/usb/dwc2/core.c:57:0:
>> drivers/usb/dwc2/core.h:1101:6: note: previous declaration of 'dwc2_clear_force_mode' was here
>> void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg);
>> ^~~~~~~~~~~~~~~~~~~~~
>>
>> vim +/dwc2_clear_force_mode +438 drivers/usb/dwc2/core.c
>>
>> 428
>> 429 /**
>> 430 * dwc2_clear_force_mode() - Clears the force mode bits.
>> 431 *
>> 432 * After clearing the bits, wait up to 100 ms to account for any
>> 433 * potential IDDIG filter delay. We can't know if we expect this delay
>> 434 * or not because the value of the connector ID status is affected by
>> 435 * the force mode. We only need to call this once during probe if
>> 436 * dr_mode == OTG.
>> 437 */
>> > 438 static void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg)
>
> patch dropped.
>
This patch have a dependency from "[PATCH 6/6] usb: dwc2: Force mode"
("[PATCH 0/6] usb: dwc2: minor fixes" patches) which I missed.
I will rebase
[PATCH 5/6] usb: dwc2: eliminate irq parameter from dwc2_gadget_init
[PATCH 6/6] usb: dwc2: Force mode
Please apply this patch after applying that two patches.
Thanks, Grigor.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-15 14:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-15 13:29 [balbi-usb:testing/next 45/57] drivers/usb/dwc2/core.c:438:13: error: static declaration of 'dwc2_clear_force_mode' follows non-static declaration kbuild test robot
[not found] ` <201802152134.OH8x0B2I%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2018-02-15 13:33 ` Felipe Balbi
2018-02-15 14:37 ` Grigor Tovmasyan
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.