Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alan Cox and committed by
Linus Torvalds
8638545c 1538a093

+3 -3
+3 -3
drivers/firmware/dmi_scan.c
··· 81 81 const struct dmi_header *dm = (const struct dmi_header *)data; 82 82 83 83 /* 84 - * We want to know the total length (formated area and strings) 85 - * before decoding to make sure we won't run off the table in 86 - * dmi_decode or dmi_string 84 + * We want to know the total length (formatted area and 85 + * strings) before decoding to make sure we won't run off the 86 + * table in dmi_decode or dmi_string 87 87 */ 88 88 data += dm->length; 89 89 while ((data - buf < len - 1) && (data[0] || data[1]))