git: e69052efa1d0 - stable/14 - smbios: style(9): sizeof(): No space before the parenthesis
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Apr 2025 13:40:47 UTC
The branch stable/14 has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=e69052efa1d00c8bda465955321f539d7dc364b8
commit e69052efa1d00c8bda465955321f539d7dc364b8
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-03-03 10:27:00 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-04-08 13:38:23 +0000
smbios: style(9): sizeof(): No space before the parenthesis
No functional change.
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 69cf9e9a451df3b0bff92f879365f604811e394b)
---
sys/dev/smbios/smbios.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/dev/smbios/smbios.c b/sys/dev/smbios/smbios.c
index 7f89430226c8..9fd37becb43a 100644
--- a/sys/dev/smbios/smbios.c
+++ b/sys/dev/smbios/smbios.c
@@ -86,7 +86,7 @@ smbios_identify (driver_t *driver, device_t parent)
void *ptr;
device_t child;
vm_paddr_t addr = 0;
- size_t map_size = sizeof (*eps);
+ size_t map_size = sizeof(*eps);
int length;
if (!device_is_alive(parent))
@@ -95,7 +95,7 @@ smbios_identify (driver_t *driver, device_t parent)
#ifdef ARCH_MAY_USE_EFI
if (!efi_get_table(&efi_smbios3, &addr_efi)) {
addr = (vm_paddr_t)addr_efi;
- map_size = sizeof (*eps3);
+ map_size = sizeof(*eps3);
} else if (!efi_get_table(&efi_smbios, &addr_efi)) {
addr = (vm_paddr_t)addr_efi;
}
@@ -112,7 +112,7 @@ smbios_identify (driver_t *driver, device_t parent)
ptr = pmap_mapbios(addr, map_size);
if (ptr == NULL)
return;
- if (map_size == sizeof (*eps3)) {
+ if (map_size == sizeof(*eps3)) {
eps3 = ptr;
length = eps3->length;
if (memcmp(eps3->anchor_string,