ShellCheck - shell script analysis tool version: 0.10.0 license: GNU General Public License, version 3 website: https://www.shellcheck.net Redirect to /tmp/tmp.YOc8YCd3zn and /tmp/tmp.L6NOPgJ6NQ Tree base: 6e8e6baf16ce ("Merge branch 'net-dsa-lantiq_gswip-prepare-for-supporting-new-features'") Now at: 0100b3f903bf ("uapi: wrap compiler_types.h in an ifdef instead of the implicit strip") ====== Checking before the patch ====== Checking scripts/headers_install.sh - 13e3dae6a6600a87d6b197843c1e584402ff37b722ccc43e42c8f490e5253cbf In headers_install.sh line 27: if [ -n "$(sed -n -e "/SPDX-License-Identifier:.*GPL-/{/WITH Linux-syscall-note/!p}" $INFILE)" ]; then ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -n "$(sed -n -e "/SPDX-License-Identifier:.*GPL-/{/WITH Linux-syscall-note/!p}" "$INFILE")" ]; then In headers_install.sh line 39: ' $INFILE > $TMPFILE || exit 1 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ' "$INFILE" > "$TMPFILE" || exit 1 In headers_install.sh line 41: scripts/unifdef -U__KERNEL__ -D__EXPORTED_HEADERS__ $TMPFILE > $OUTFILE ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: scripts/unifdef -U__KERNEL__ -D__EXPORTED_HEADERS__ "$TMPFILE" > "$OUTFILE" In headers_install.sh line 65: ' $OUTFILE) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ' "$OUTFILE") In headers_install.sh line 101: rm -f $TMPFILE ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TMPFILE" For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... ====== Checking the tree with the patch ====== Checking scripts/headers_install.sh - 13e3dae6a6600a87d6b197843c1e584402ff37b722ccc43e42c8f490e5253cbf In headers_install.sh line 27: if [ -n "$(sed -n -e "/SPDX-License-Identifier:.*GPL-/{/WITH Linux-syscall-note/!p}" $INFILE)" ]; then ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -n "$(sed -n -e "/SPDX-License-Identifier:.*GPL-/{/WITH Linux-syscall-note/!p}" "$INFILE")" ]; then In headers_install.sh line 39: ' $INFILE > $TMPFILE || exit 1 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ' "$INFILE" > "$TMPFILE" || exit 1 In headers_install.sh line 41: scripts/unifdef -U__KERNEL__ -D__EXPORTED_HEADERS__ $TMPFILE > $OUTFILE ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: scripts/unifdef -U__KERNEL__ -D__EXPORTED_HEADERS__ "$TMPFILE" > "$OUTFILE" In headers_install.sh line 65: ' $OUTFILE) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ' "$OUTFILE") In headers_install.sh line 101: rm -f $TMPFILE ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TMPFILE" For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...