2009-11-20 13:50:47

by Jan Beulich

[permalink] [raw]
Subject: [PATCH] fix section mismatch in early ehci dbgp

Commit 917778267fbe67703ab7d5c6f0b7a05d4c3df485 removed __init from
ehci_wait_for_port(), but left it in place on ehci_reset_port(), which
is being called from the former function.

Signed-off-by: Jan Beulich <[email protected]>
Cc: Jason Wessel <[email protected]>

---
drivers/usb/early/ehci-dbgp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.32-rc8/drivers/usb/early/ehci-dbgp.c 2009-11-20 14:11:29.000000000 +0100
+++ 2.6.32-rc8-ehci-dbgp-section-mismatch/drivers/usb/early/ehci-dbgp.c 2009-11-20 11:23:52.000000000 +0100
@@ -613,7 +613,7 @@ err:
}
EXPORT_SYMBOL_GPL(dbgp_external_startup);

-static int __init ehci_reset_port(int port)
+static int ehci_reset_port(int port)
{
u32 portsc;
u32 delay_time, delay;



2009-11-20 14:06:33

by Jason Wessel

[permalink] [raw]
Subject: Re: [PATCH] fix section mismatch in early ehci dbgp

Jan Beulich wrote:
> Commit 917778267fbe67703ab7d5c6f0b7a05d4c3df485 removed __init from
> ehci_wait_for_port(), but left it in place on ehci_reset_port(), which
> is being called from the former function.
>
> Signed-off-by: Jan Beulich <[email protected]>
> Cc: Jason Wessel <[email protected]>
>

Acked-by: Jason Wessel <[email protected]>

> ---
> drivers/usb/early/ehci-dbgp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-2.6.32-rc8/drivers/usb/early/ehci-dbgp.c 2009-11-20 14:11:29.000000000 +0100
> +++ 2.6.32-rc8-ehci-dbgp-section-mismatch/drivers/usb/early/ehci-dbgp.c 2009-11-20 11:23:52.000000000 +0100
> @@ -613,7 +613,7 @@ err:
> }
> EXPORT_SYMBOL_GPL(dbgp_external_startup);
>
> -static int __init ehci_reset_port(int port)
> +static int ehci_reset_port(int port)
> {
> u32 portsc;
> u32 delay_time, delay;
>
>
>
>

2009-12-22 20:25:21

by Greg KH

[permalink] [raw]
Subject: patch usb-fix-section-mismatch-in-early-ehci-dbgp.patch added to gregkh-2.6 tree


This is a note to let you know that I've just added the patch titled

Subject: USB: fix section mismatch in early ehci dbgp

to my gregkh-2.6 tree. Its filename is

usb-fix-section-mismatch-in-early-ehci-dbgp.patch

This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From [email protected] Tue Dec 22 11:20:33 2009
From: "Jan Beulich" <[email protected]>
Date: Fri, 20 Nov 2009 13:50:53 +0000
Subject: USB: fix section mismatch in early ehci dbgp
To: <[email protected]>
Cc: <[email protected]>, <[email protected]>
Message-ID: <[email protected]>
Content-Disposition: inline


Commit 917778267fbe67703ab7d5c6f0b7a05d4c3df485 removed __init from
ehci_wait_for_port(), but left it in place on ehci_reset_port(), which
is being called from the former function.

Signed-off-by: Jan Beulich <[email protected]>
Acked-by: Jason Wessel <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>


---
drivers/usb/early/ehci-dbgp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/usb/early/ehci-dbgp.c
+++ b/drivers/usb/early/ehci-dbgp.c
@@ -613,7 +613,7 @@ err:
}
EXPORT_SYMBOL_GPL(dbgp_external_startup);

-static int __init ehci_reset_port(int port)
+static int ehci_reset_port(int port)
{
u32 portsc;
u32 delay_time, delay;