diff options
author | Martin Roth <gaumless@gmail.com> | 2023-09-04 15:37:07 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-12-13 10:42:30 +0000 |
commit | 3e25f85d68d10249473d422c4c19dc30ea55e8b0 (patch) | |
tree | 0fb6767dfe8334c455ccd8d3dace51bf02664932 /src/lib | |
parent | 3933ed5e5a73898becc80dccc35a58a158f8899e (diff) |
drivers/ipmi to lib: Fix misspellings & capitalization issues
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I926ec4c1c00339209ef656995031026935e52558
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77637
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
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; |