summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-11-07 16:03:46 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-07 08:25:43 -0800
commit8638545c3668231675dcf8f46afa7ed5930a6b02 (patch)
tree9c053478b5ce42cd794bb4505ee3efec9203392a
parent1538a093f71c61964a0e8a5b19f0129326724188 (diff)
downloadlinux-8638545c3668231675dcf8f46afa7ed5930a6b02.tar.gz
linux-8638545c3668231675dcf8f46afa7ed5930a6b02.tar.bz2
linux-8638545c3668231675dcf8f46afa7ed5930a6b02.zip
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 <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/firmware/dmi_scan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c
index 3e526b6d00cb..8daf4793ac32 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]))