From: Andrey Panin Date: Tue, 6 Sep 2005 22:18:28 +0000 (-0700) Subject: [PATCH] dmi: make dmi_string() behave like strdup() X-Git-Tag: v2.6.14-rc1~622 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3c7120d552989be94c9137989be5abb6da8954f;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed