File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1515
1616has_renamed_memintrinsics ()
1717{
18- grep -q " ^CONFIG_KASAN=y$" ${KCONFIG_CONFIG} && \
19- ! grep -q " ^CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX=y" ${KCONFIG_CONFIG}
18+ grep -q " ^CONFIG_KASAN=y$" " ${KCONFIG_CONFIG} " && \
19+ ! grep -q " ^CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX=y" " ${KCONFIG_CONFIG} "
2020}
2121
2222if has_renamed_memintrinsics
@@ -42,15 +42,15 @@ check_section()
4242{
4343 file=$1
4444 section=$2
45- size=$( objdump -h -j $section $file 2> /dev/null | awk " \$ 2 == \" $section \" {print \$ 3}" )
45+ size=$( objdump -h -j " $section " " $file " 2> /dev/null | awk " \$ 2 == \" $section \" {print \$ 3}" )
4646 size=${size:- 0}
47- if [ $size -ne 0 ]; then
47+ if [ " $size " -ne 0 ]; then
4848 ERROR=1
4949 echo " Error: Section $section not empty in prom_init.c" >&2
5050 fi
5151}
5252
53- for UNDEF in $( $NM -u $OBJ | awk ' {print $2}' )
53+ for UNDEF in $( $NM -u " $OBJ " | awk ' {print $2}' )
5454do
5555 # On 64-bit nm gives us the function descriptors, which have
5656 # a leading . on the name, so strip it off here.
8787 fi
8888done
8989
90- check_section $OBJ .data
91- check_section $OBJ .bss
92- check_section $OBJ .init.data
90+ check_section " $OBJ " .data
91+ check_section " $OBJ " .bss
92+ check_section " $OBJ " .init.data
9393
9494exit $ERROR
You can’t perform that action at this time.
0 commit comments