From acf73199fa227b97217238334236af367c8ab2d7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 26 Jul 2022 07:25:24 +0200 Subject: Adding upstream version 1.1~rc0. Signed-off-by: Daniel Baumann --- doc/kernel-doc-check | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/kernel-doc-check (limited to 'doc/kernel-doc-check') diff --git a/doc/kernel-doc-check b/doc/kernel-doc-check new file mode 100644 index 0000000..23887d0 --- /dev/null +++ b/doc/kernel-doc-check @@ -0,0 +1,10 @@ +#!/bin/bash +# SPDX-License-Identifier: LGPL-2.1-or-later + +kernel_doc=$(dirname $0)/kernel-doc + +"$kernel_doc" -none "$@" 2>&1 | + grep '\(warning\|error\)' + +# check that kernel-doc succeeded, but the grep failed +[ ${PIPESTATUS[0]} -eq 0 -a ${PIPESTATUS[1]} -eq 1 ] -- cgit v1.2.3