From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: Yuan-Hsin Chen <yhchen@faraday-tech.com>
Cc: Felipe Balbi <balbi@ti.com>,
"linux-next@vger.kernel.org" <linux-next@vger.kernel.org>,
linux-usb@vger.kernel.org
Subject: Section mismatch in drivers/usb/gadget/fotg210-udc.c
Date: Wed, 19 Jun 2013 16:06:21 -0400 [thread overview]
Message-ID: <51C20F3D.1060700@windriver.com> (raw)
Hi guys,
This was seen on a linux-next (Jun18th tree) allmodconfig build:
WARNING: drivers/usb/gadget/fotg210-udc.o(.data+0x0): Section mismatch in reference from the variable fotg210_driver to the function .init.text:fotg210_udc_probe()
The variable fotg210_driver references
the function __init fotg210_udc_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
Paul.
next reply other threads:[~2013-06-19 20:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 20:06 Paul Gortmaker [this message]
[not found] ` <1371736393-5518-1-git-send-email-yhchen@faraday-tech.com>
2013-06-20 12:16 ` [PATCH] usb: gadget: fotg210-udc: Use module_platform_driver_probe macro Felipe Balbi
[not found] ` <20130620121610.GE9817-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-06-21 6:36 ` Yuan-Hsin Chen
2013-07-03 17:00 ` Section mismatch in drivers/usb/gadget/fotg210-udc.c Paul Gortmaker
[not found] ` <CAP=VYLpsF7bmF2HZ84_WV0YtbGqHoPDMaE=a9p9UhovHeckkRg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-07-03 17:08 ` Paul Gortmaker
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=51C20F3D.1060700@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=balbi@ti.com \
--cc=linux-next@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=yhchen@faraday-tech.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).