Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2025 13:40:58 GMT
From:      Olivier Certner <olce@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 6a937165f90f - stable/14 - libsa: smbios: style(9): SMBIOS_GET8(): Split overlong line
Message-ID:  <202504081340.538Dew2J032309@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=6a937165f90f133843541aa0c509dcd48fc5b2fe

commit 6a937165f90f133843541aa0c509dcd48fc5b2fe
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-03-03 09:58:32 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-04-08 13:38:25 +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
    
    (cherry picked from commit 085c8bdec5bcb01acff5c6e9cd2d8864f44a20cd)
---
 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?202504081340.538Dew2J032309>