summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-03-15 15:19:07 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-03-15 15:19:07 -0800
commit4a1168133703a3132e104f99ed8dbe393e2983ad (patch)
treea4cd428b8a6b6c1a6d9c4535f658263eea6d395a /kernel
parent2d86075a5d9145a177dd216d785f55b0c67a3569 (diff)
[PATCH] kbuild: fix modpost when used with O=
From: Sam Ravnborg <sam@ravnborg.org> modpost or to be more specific sumversion.c was not behaving correct when used with O= and MODULE_VERSION was used. Previously it failed to use local .h when calculation the md-sum in case of a O= build. The following patch introduces the following: - A generic get_next_line() - Check that the topmost part of the directory matches - Using strrch when checking for file with suffix .o - Use NOFAIL for allocations in sumversion - Avoid memory leak in new_module The generic get_next_line will pay off when Andreas implmentation of storing symbol addresses in a seperate file is introduced.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions