Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2025 14:04:35 GMT
From:      Olivier Certner <olce@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 085c8bdec5bc - main - libsa: smbios: style(9): SMBIOS_GET8(): Split overlong line
Message-ID:  <202503111404.52BE4ZTi028544@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by olce:

URL: https://cgit.FreeBSD.org/src/commit/?id=085c8bdec5bcb01acff5c6e9cd2d8864f44a20cd

commit 085c8bdec5bcb01acff5c6e9cd2d8864f44a20cd
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-03-03 09:58:32 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-03-11 13:54:02 +0000

    libsa: smbios: style(9): SMBIOS_GET8(): Split overlong line
    
    No functional change.
    
    Reviewed by:    markj
    MFC after:      2 weeks
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D49279
---
 stand/libsa/smbios.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/stand/libsa/smbios.c b/stand/libsa/smbios.c
index 8d516301ec06..a203d222bc79 100644
--- a/stand/libsa/smbios.c
+++ b/stand/libsa/smbios.c
@@ -106,7 +106,11 @@
  * because those can optimize to an unaligned load (which often is fine, but not
  * for mmap'd /dev/mem which has special memory attributes).
  */
-static inline uint8_t SMBIOS_GET8(const caddr_t base, int off) { return (base[off]); }
+static inline uint8_t
+SMBIOS_GET8(const caddr_t base, int off)
+{
+	return (base[off]);
+}
 
 static inline uint16_t
 SMBIOS_GET16(const caddr_t base, int off)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202503111404.52BE4ZTi028544>