summaryrefslogtreecommitdiff
path: root/dmidecode.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2020-10-19 11:55:29 +0200
committerJean Delvare <jdelvare@suse.de>2020-10-19 11:55:29 +0200
commitdf7d07805453b940df09eb9fcaba48bb845416f9 (patch)
tree14deb4c1b624d558924fcd56964e57f6117e1a97 /dmidecode.c
parent2ae62191236cf037f27668457de065d577cde265 (diff)
downloaddmidecode-git-df7d07805453b940df09eb9fcaba48bb845416f9.tar.gz
dmidecode: Fix typos in comments
Diffstat (limited to 'dmidecode.c')
-rw-r--r--dmidecode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dmidecode.c b/dmidecode.c
index cd2b5c9..8b6f5af 100644
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -1107,7 +1107,7 @@ static void dmi_processor_id(const struct dmi_header *h)
u16 dx = WORD(p);
/*
* Not all 80486 CPU support the CPUID instruction, we have to find
- * wether the one we have here does or not. Note that this trick
+ * whether the one we have here does or not. Note that this trick
* works only because we know that 80486 must be little-endian.
*/
if ((dx & 0x0F00) == 0x0400
@@ -3707,16 +3707,16 @@ static void dmi_parse_protocol_record(u8 *rec)
* convenience. It could get passed from the SMBIOS
* header, but that's a lot of passing of pointers just
* to get that info, and the only thing it is used for is
- * to determine the endianess of the field. Since we only
+ * to determine the endianness of the field. Since we only
* do this parsing on versions of SMBIOS after 3.1.1, and the
- * endianess of the field is always little after version 2.6.0
+ * endianness of the field is always little after version 2.6.0
* we can just pick a sufficiently recent version here.
*/
dmi_system_uuid(pr_subattr, "Service UUID", &rdata[0], 0x311);
/*
* DSP0270: 8.6: Redfish Over IP Host IP Assignment Type
- * Note, using decimal indicies here, as the DSP0270
+ * Note, using decimal indices here, as the DSP0270
* uses decimal, so as to make it more comparable
*/
assign_val = rdata[16];