diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ramdetect.c | 2 | ||||
-rw-r--r-- | src/lib/smbios.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ramdetect.c b/src/lib/ramdetect.c index 328ca07a62..cfec0296e7 100644 --- a/src/lib/ramdetect.c +++ b/src/lib/ramdetect.c @@ -18,7 +18,7 @@ int __weak probe_mb(const uintptr_t dram_start, const uintptr_t size) void *ptr = (void *) addr; size_t i; - /* Don't accidentally clober oneself. */ + /* Don't accidentally clobber oneself. */ if (OVERLAP(addr, addr + sizeof(uint32_t), (uintptr_t)_program, (uintptr_t) _eprogram)) return 1; diff --git a/src/lib/smbios.c b/src/lib/smbios.c index deee193be9..3ef3c21bca 100644 --- a/src/lib/smbios.c +++ b/src/lib/smbios.c @@ -216,7 +216,7 @@ static const char *memory_device_type(u8 code) if (code >= MEMORY_TYPE_OTHER && code <= MEMORY_TYPE_HBM3) return type[code - 1]; - return "Unsupproted"; + return "Unsupported"; } static void dump_smbios_type17(struct dimm_info *dimm) @@ -646,7 +646,7 @@ int smbios_write_type9(unsigned long *current, int *handle, t->slot_designation = smbios_add_string(t->eos, name ? name : "SLOT"); t->slot_type = type; - /* TODO add slot_id supoort, will be "_SUN" for ACPI devices */ + /* TODO add slot_id support, will be "_SUN" for ACPI devices */ t->slot_id = id; t->slot_data_bus_width = bandwidth; t->current_usage = usage; |