summaryrefslogtreecommitdiff
path: root/util/lint
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2020-05-10 16:41:01 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-11 17:11:40 +0000
commit6b5bc77c9b22c398262ff3f4dae3e14904c57366 (patch)
treeab40c703d92f906f8604635f091f809b59233efa /util/lint
parenta83c6bc907b8ef77935ba62789bc4ed60716986d (diff)
treewide: Remove "this file is part of" lines
Stefan thinks they don't add value. Command used: sed -i -e '/file is part of /d' $(git grep "file is part of " |egrep ":( */\*.*\*/\$|#|;#|-- | *\* )" | cut -d: -f1 |grep -v crossgcc |grep -v gcov | grep -v /elf.h |grep -v nvramtool) The exceptions are for: - crossgcc (patch file) - gcov (imported from gcc) - elf.h (imported from GNU's libc) - nvramtool (more complicated header) The removed lines are: - fmt.Fprintln(f, "/* This file is part of the coreboot project. */") -# This file is part of a set of unofficial pre-commit hooks available -/* This file is part of coreboot */ -# This file is part of msrtool. -/* This file is part of msrtool. */ - * This file is part of ncurses, designed to be appended after curses.h.in -/* This file is part of pgtblgen. */ - * This file is part of the coreboot project. - /* This file is part of the coreboot project. */ -# This file is part of the coreboot project. -# This file is part of the coreboot project. -## This file is part of the coreboot project. --- This file is part of the coreboot project. -/* This file is part of the coreboot project */ -/* This file is part of the coreboot project. */ -;## This file is part of the coreboot project. -# This file is part of the coreboot project. It originated in the - * This file is part of the coreinfo project. -## This file is part of the coreinfo project. - * This file is part of the depthcharge project. -/* This file is part of the depthcharge project. */ -/* This file is part of the ectool project. */ - * This file is part of the GNU C Library. - * This file is part of the libpayload project. -## This file is part of the libpayload project. -/* This file is part of the Linux kernel. */ -## This file is part of the superiotool project. -/* This file is part of the superiotool project */ -/* This file is part of uio_usbdebug */ Change-Id: I82d872b3b337388c93d5f5bf704e9ee9e53ab3a9 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41194 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/lint')
-rwxr-xr-xutil/lint/check-style1
-rwxr-xr-xutil/lint/kconfig_lint1
-rwxr-xr-xutil/lint/lint1
-rwxr-xr-xutil/lint/lint-000-license-headers1
-rwxr-xr-xutil/lint/lint-001-no-global-config-in-romstage1
-rwxr-xr-xutil/lint/lint-007-checkpatch1
-rwxr-xr-xutil/lint/lint-008-kconfig1
-rwxr-xr-xutil/lint/lint-014-qualified-types1
-rwxr-xr-xutil/lint/lint-extended-007-checkpatch1
-rwxr-xr-xutil/lint/lint-extended-015-final-newlines1
-rwxr-xr-xutil/lint/lint-extended-020-signed-off-by1
-rwxr-xr-xutil/lint/lint-stable-000-license-headers1
-rwxr-xr-xutil/lint/lint-stable-003-whitespace1
-rwxr-xr-xutil/lint/lint-stable-004-style-labels1
-rwxr-xr-xutil/lint/lint-stable-005-board-status1
-rwxr-xr-xutil/lint/lint-stable-006-board-name1
-rwxr-xr-xutil/lint/lint-stable-008-kconfig1
-rwxr-xr-xutil/lint/lint-stable-009-old-licenses1
-rwxr-xr-xutil/lint/lint-stable-010-asm-syntax1
-rwxr-xr-xutil/lint/lint-stable-012-executable-bit1
-rwxr-xr-xutil/lint/lint-stable-013-site-local1
-rwxr-xr-xutil/lint/lint-stable-016-non-ascii1
-rwxr-xr-xutil/lint/lint-stable-017-configs1
-rwxr-xr-xutil/lint/lint-stable-018-symlinks1
-rwxr-xr-xutil/lint/lint-stable-019-header-files1
-rwxr-xr-xutil/lint/lint-stable-021-coreboot-lowercase1
-rwxr-xr-xutil/lint/lint-stable-022-clang-format1
-rwxr-xr-xutil/lint/lint-stable-023-filenames1
28 files changed, 0 insertions, 28 deletions
diff --git a/util/lint/check-style b/util/lint/check-style
index 5d21b8b2e3..06b950bcea 100755
--- a/util/lint/check-style
+++ b/util/lint/check-style
@@ -5,7 +5,6 @@
# - create a patch of the proposed style changes
#
# modifications for clang-format by rene.milk@wwu.de
-# This file is part of a set of unofficial pre-commit hooks available
# at github.
# Link: https://github.com/githubbrowser/Pre-commit-hooks
# Contact: David Martin, david.martin.mailbox@googlemail.com
diff --git a/util/lint/kconfig_lint b/util/lint/kconfig_lint
index cd4c9a2f3b..8ee6416a31 100755
--- a/util/lint/kconfig_lint
+++ b/util/lint/kconfig_lint
@@ -1,5 +1,4 @@
#!/usr/bin/env perl
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint b/util/lint/lint
index 1420b41a1c..a8c08d5370 100755
--- a/util/lint/lint
+++ b/util/lint/lint
@@ -1,6 +1,5 @@
#!/bin/sh
#
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-000-license-headers b/util/lint/lint-000-license-headers
index 3757f37fe6..a1ee3e7117 100755
--- a/util/lint/lint-000-license-headers
+++ b/util/lint/lint-000-license-headers
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-001-no-global-config-in-romstage b/util/lint/lint-001-no-global-config-in-romstage
index 79293ebfff..1ed55e0ca7 100755
--- a/util/lint/lint-001-no-global-config-in-romstage
+++ b/util/lint/lint-001-no-global-config-in-romstage
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-007-checkpatch b/util/lint/lint-007-checkpatch
index a56c62b94b..f78454198f 100755
--- a/util/lint/lint-007-checkpatch
+++ b/util/lint/lint-007-checkpatch
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-008-kconfig b/util/lint/lint-008-kconfig
index 948031a34c..1adb68fafa 100755
--- a/util/lint/lint-008-kconfig
+++ b/util/lint/lint-008-kconfig
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-014-qualified-types b/util/lint/lint-014-qualified-types
index 4a56dd6deb..8da23b6d1f 100755
--- a/util/lint/lint-014-qualified-types
+++ b/util/lint/lint-014-qualified-types
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-extended-007-checkpatch b/util/lint/lint-extended-007-checkpatch
index aa16caf2d6..20ef6c48e1 100755
--- a/util/lint/lint-extended-007-checkpatch
+++ b/util/lint/lint-extended-007-checkpatch
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-extended-015-final-newlines b/util/lint/lint-extended-015-final-newlines
index 67aa27ee92..74f1f03ecc 100755
--- a/util/lint/lint-extended-015-final-newlines
+++ b/util/lint/lint-extended-015-final-newlines
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-extended-020-signed-off-by b/util/lint/lint-extended-020-signed-off-by
index 7700b3a52f..f60a5c3eb3 100755
--- a/util/lint/lint-extended-020-signed-off-by
+++ b/util/lint/lint-extended-020-signed-off-by
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/util/lint/lint-stable-000-license-headers b/util/lint/lint-stable-000-license-headers
index befdf3cd68..7b14b45477 100755
--- a/util/lint/lint-stable-000-license-headers
+++ b/util/lint/lint-stable-000-license-headers
@@ -1,6 +1,5 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-only
-# This file is part of the coreboot project.
#
# DESCR: Check that files have license headers
diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace
index 1710083a6b..a6e915de58 100755
--- a/util/lint/lint-stable-003-whitespace
+++ b/util/lint/lint-stable-003-whitespace
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-004-style-labels b/util/lint/lint-stable-004-style-labels
index 21aa69d873..36d2581974 100755
--- a/util/lint/lint-stable-004-style-labels
+++ b/util/lint/lint-stable-004-style-labels
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-005-board-status b/util/lint/lint-stable-005-board-status
index edaa0b76c2..d364d71ded 100755
--- a/util/lint/lint-stable-005-board-status
+++ b/util/lint/lint-stable-005-board-status
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/util/lint/lint-stable-006-board-name b/util/lint/lint-stable-006-board-name
index 1458c8b5a8..3fb0adc403 100755
--- a/util/lint/lint-stable-006-board-name
+++ b/util/lint/lint-stable-006-board-name
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/util/lint/lint-stable-008-kconfig b/util/lint/lint-stable-008-kconfig
index 34dec465c8..79e2a86c0c 100755
--- a/util/lint/lint-stable-008-kconfig
+++ b/util/lint/lint-stable-008-kconfig
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-009-old-licenses b/util/lint/lint-stable-009-old-licenses
index 1835a35e14..4d0cb4f4d3 100755
--- a/util/lint/lint-stable-009-old-licenses
+++ b/util/lint/lint-stable-009-old-licenses
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-010-asm-syntax b/util/lint/lint-stable-010-asm-syntax
index 5f02ff567e..344068fcb3 100755
--- a/util/lint/lint-stable-010-asm-syntax
+++ b/util/lint/lint-stable-010-asm-syntax
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-012-executable-bit b/util/lint/lint-stable-012-executable-bit
index 5827a59b1f..46896f42c8 100755
--- a/util/lint/lint-stable-012-executable-bit
+++ b/util/lint/lint-stable-012-executable-bit
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/util/lint/lint-stable-013-site-local b/util/lint/lint-stable-013-site-local
index af660ab9c4..2c63aa602f 100755
--- a/util/lint/lint-stable-013-site-local
+++ b/util/lint/lint-stable-013-site-local
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/util/lint/lint-stable-016-non-ascii b/util/lint/lint-stable-016-non-ascii
index 5bbafbbab2..4c97c37ba0 100755
--- a/util/lint/lint-stable-016-non-ascii
+++ b/util/lint/lint-stable-016-non-ascii
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-017-configs b/util/lint/lint-stable-017-configs
index 1221672f6f..4f298508ce 100755
--- a/util/lint/lint-stable-017-configs
+++ b/util/lint/lint-stable-017-configs
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-018-symlinks b/util/lint/lint-stable-018-symlinks
index c9aa356f5c..8739a8b019 100755
--- a/util/lint/lint-stable-018-symlinks
+++ b/util/lint/lint-stable-018-symlinks
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-019-header-files b/util/lint/lint-stable-019-header-files
index 8114931b29..11cb6b750c 100755
--- a/util/lint/lint-stable-019-header-files
+++ b/util/lint/lint-stable-019-header-files
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-021-coreboot-lowercase b/util/lint/lint-stable-021-coreboot-lowercase
index f9444cec90..45bc8199fd 100755
--- a/util/lint/lint-stable-021-coreboot-lowercase
+++ b/util/lint/lint-stable-021-coreboot-lowercase
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-022-clang-format b/util/lint/lint-stable-022-clang-format
index 439af55a87..031fdb1f39 100755
--- a/util/lint/lint-stable-022-clang-format
+++ b/util/lint/lint-stable-022-clang-format
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/lint/lint-stable-023-filenames b/util/lint/lint-stable-023-filenames
index b864ab9866..a70f988957 100755
--- a/util/lint/lint-stable-023-filenames
+++ b/util/lint/lint-stable-023-filenames
@@ -1,5 +1,4 @@
#!/bin/sh
-# This file is part of the coreboot project.
#
# SPDX-License-Identifier: GPL-2.0-only