From: Sam Ravnborg <sam@ravnborg.org>
To: Linus Torvalds <torvalds@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
linux-kbuild <linux-kbuild@vger.kernel.org>
Subject: [GIT PULL] kbuild fixes
Date: Sat, 26 Apr 2008 21:12:56 +0200 [thread overview]
Message-ID: <20080426191256.GA784@uranus.ravnborg.org> (raw)
Hi Linus.
Please apply the following two fixes by pulling from:
master.kernel.org/pub/scm/linux/kernel/git/sam/kbuild.git
The MODULE_LICENSE fix is neded to get an allmodconfig
build fixed.
Sam
Adrian Bunk (1):
kbuild: scripts/Makefile.modpost typo fix
Sam Ravnborg (1):
kbuild: soften MODULE_LICENSE check
scripts/Makefile.modpost | 2 +-
scripts/mod/modpost.c | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost
index 24b3c8f..a098a04 100644
--- a/scripts/Makefile.modpost
+++ b/scripts/Makefile.modpost
@@ -76,7 +76,7 @@ modpost = scripts/mod/modpost \
$(if $(CONFIG_MODULE_SRCVERSION_ALL),-a,) \
$(if $(KBUILD_EXTMOD),-i,-o) $(kernelsymfile) \
$(if $(KBUILD_EXTMOD),-I $(modulesymfile)) \
- $(if $(iKBUILD_EXTRA_SYMBOLS), $(patsubst %, -e %,$(EXTRA_SYMBOLS))) \
+ $(if $(KBUILD_EXTRA_SYMBOLS), $(patsubst %, -e %,$(EXTRA_SYMBOLS))) \
$(if $(KBUILD_EXTMOD),-o $(modulesymfile)) \
$(if $(CONFIG_DEBUG_SECTION_MISMATCH),,-S) \
$(if $(CONFIG_MARKERS),-K $(kernelmarkersfile)) \
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index f8b42ab..757294b 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1552,10 +1552,10 @@ static void read_symbols(char *modname)
}
license = get_modinfo(info.modinfo, info.modinfo_len, "license");
- if (!license && !is_vmlinux(modname))
- fatal("modpost: missing MODULE_LICENSE() in %s\n"
- "see include/linux/module.h for "
- "more information\n", modname);
+ if (info.modinfo && !license && !is_vmlinux(modname))
+ warn("modpost: missing MODULE_LICENSE() in %s\n"
+ "see include/linux/module.h for "
+ "more information\n", modname);
while (license) {
if (license_is_gpl_compatible(license))
mod->gpl_compatible = 1;
next reply other threads:[~2008-04-26 19:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-26 19:12 Sam Ravnborg [this message]
2008-04-26 19:20 ` [GIT PULL] kbuild fixes Adrian Bunk
2008-04-26 19:37 ` Sam Ravnborg
2008-04-26 19:49 ` Sam Ravnborg
2008-04-26 19:55 ` Adrian Bunk
2008-04-26 20:05 ` Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2008-05-04 19:13 Sam Ravnborg
2008-05-25 7:12 Sam Ravnborg
2008-05-25 18:31 ` Sam Ravnborg
2008-05-25 21:10 ` Sam Ravnborg
2008-08-04 21:01 Sam Ravnborg
2008-08-06 20:27 Sam Ravnborg
2008-08-07 9:18 ` Russell King
2009-10-11 22:18 Sam Ravnborg
2009-10-12 8:41 ` Michael Tokarev
2009-10-13 15:10 ` Américo Wang
2009-10-13 18:58 ` Sam Ravnborg
2009-10-13 19:19 ` Michael Tokarev
2009-10-13 20:20 ` Sam Ravnborg
2009-10-14 6:43 ` Michael Tokarev
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=20080426191256.GA784@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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 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.