Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2021 14:50:05 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c3295781fd5d - main - bxe: tag files to skip clang-format formatting
Message-ID:  <202108161450.17GEo5bF029875@gitrepo.freebsd.org>

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

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

commit c3295781fd5d58b6de2a2e0360b0b67b94dde1ff
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2020-06-25 00:42:10 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-08-16 14:48:44 +0000

    bxe: tag files to skip clang-format formatting
    
    bxe contains three files which are sets of constants or other data, and
    might be auto-generated or have an upstream.  They are rather large
    files and clang-format takes quite some time when run against them, so
    just skip formatting.
    
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D27806
---
 sys/dev/bxe/57710_init_values.c | 2 +-
 sys/dev/bxe/57711_init_values.c | 2 +-
 sys/dev/bxe/57712_init_values.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/bxe/57710_init_values.c b/sys/dev/bxe/57710_init_values.c
index 7824cfc641b0..cd3fa466e67d 100644
--- a/sys/dev/bxe/57710_init_values.c
+++ b/sys/dev/bxe/57710_init_values.c
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
-
+/* clang-format off */
 
 /*
 * This file contains an array of operations needed to initialize the chip:
diff --git a/sys/dev/bxe/57711_init_values.c b/sys/dev/bxe/57711_init_values.c
index b6bec1d4b636..7d3b00e23fd9 100644
--- a/sys/dev/bxe/57711_init_values.c
+++ b/sys/dev/bxe/57711_init_values.c
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
-
+/* clang-format off */
 
 /*
 * This file contains an array of operations needed to initialize the chip:
diff --git a/sys/dev/bxe/57712_init_values.c b/sys/dev/bxe/57712_init_values.c
index 9e730584dae9..393cf795c76a 100644
--- a/sys/dev/bxe/57712_init_values.c
+++ b/sys/dev/bxe/57712_init_values.c
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
-
+/* clang-format off */
 
 /*
 * This file contains an array of operations needed to initialize the chip:



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