]> err.no Git - linux-2.6/commit
[PATCH] dmi: make dmi_string() behave like strdup()
authorAndrey Panin <pazke@donpac.ru>
Tue, 6 Sep 2005 22:18:28 +0000 (15:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:44 +0000 (16:57 -0700)
commitc3c7120d552989be94c9137989be5abb6da8954f
tree0d68ff5c4586b1514443a61918f4c52024d60157
parent4e70b9a3d68909ad7e79bf6e1b0dcec6de922a7c
[PATCH] dmi: make dmi_string() behave like strdup()

This patch changes dmi_string() function to allocate string copy by itself, to
avoid code duplication in the next patch.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/dmi_scan.c