From: Alan Cox Date: Fri, 7 Nov 2008 16:03:46 +0000 (+0000) Subject: trivial: dmi_scan typo X-Git-Tag: upstream/snapshot3+hdmi~21598 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8638545c3668231675dcf8f46afa7ed5930a6b02;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git trivial: dmi_scan typo As we've lost our trivial maintainer for the moment I'll send this directly. Only touches a comment Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c index 3e526b6..8daf479 100644 --- a/drivers/firmware/dmi_scan.c +++ b/drivers/firmware/dmi_scan.c @@ -81,9 +81,9 @@ static void dmi_table(u8 *buf, int len, int num, const struct dmi_header *dm = (const struct dmi_header *)data; /* - * We want to know the total length (formated area and strings) - * before decoding to make sure we won't run off the table in - * dmi_decode or dmi_string + * We want to know the total length (formatted area and + * strings) before decoding to make sure we won't run off the + * table in dmi_decode or dmi_string */ data += dm->length; while ((data - buf < len - 1) && (data[0] || data[1]))