git: 2f2988a3c73b - stable/13 - bxe: tag files to skip clang-format formatting
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Dec 2021 00:28:08 UTC
The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=2f2988a3c73bd73831ad747856ca1acf9dbd0b6b commit 2f2988a3c73bd73831ad747856ca1acf9dbd0b6b Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2020-06-25 00:42:10 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-12-12 22:18:31 +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 (cherry picked from commit c3295781fd5d58b6de2a2e0360b0b67b94dde1ff) --- 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: