On Fri, Apr 16, 2010 at 11:49:34AM +0200, Michal Nazarewicz wrote:
USB: g_mass_storage: fix section mismatch warnings
The recent commit (0e530b45783f75) that moved usb_ep_autoconfig from the
__devinit section to the __init section missed the mass storage device.
Its fsg_bind() function uses the usb_ep_autoconfig() function from non
__init context leading to:
WARNING: drivers/usb/gadget/g_mass_storage.o(.text): Section mismatch in
reference from the function _fsg_bind()
to the function .init.text:_usb_ep_autoconfig()
So move fsg_bind() into __init as well.
Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
On Fri, 16 Apr 2010 20:03:56 +0200, Greg KH <greg@xxxxxxxxx> wrote:
Um, what happened here? Why did you post an old patch header (and not
the body)? Some script gone crazy?
Sorry about that. Just ignore this mail. I had a "notes" file in
a directory with the rest of the patchset and did "git send-email *"
instead of "git send-email 000*".
Only the other nine "#/8" mails are meaningful.
Again, sorry for the mess.
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał "mina86" Nazarewicz (o o)
ooo +---[mina86@xxxxxxxxxx]---[mina86@jabber.org]---ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html