git: c3295781fd5d - main - bxe: tag files to skip clang-format formatting
Ed Maste
emaste at FreeBSD.org
Mon Aug 16 14:50:06 UTC 2021
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=c3295781fd5d58b6de2a2e0360b0b67b94dde1ff
commit c3295781fd5d58b6de2a2e0360b0b67b94dde1ff
Author: Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2020-06-25 00:42:10 +0000
Commit: Ed Maste <emaste at 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:
More information about the dev-commits-src-main
mailing list