#!/bin/sh function test_ex { make -C ex V=1 clean > ex.out 2>&1 make -C ex V=1 >> ex.out 2>&1 if [ ! -x ./ex/ex ]; then echo FAILED exit -1 fi make -C ex V=1 clean > /dev/null 2>&1 rm -f ex.out } function test_ex_suffix { make -C ex V=1 clean > ex.out 2>&1 # use -rR to disable make's builtin rules make -rR -C ex V=1 ex.o >> ex.out 2>&1 make -rR -C ex V=1 ex.i >> ex.out 2>&1 make -rR -C ex V=1 ex.s >> ex.out 2>&1 if [ -x ./ex/ex ]; then echo FAILED exit -1 fi if [ ! -f ./ex/ex.o -o ! -f ./ex/ex.i -o ! -f ./ex/ex.s ]; then echo FAILED exit -1 fi make -C ex V=1 clean > /dev/null 2>&1 rm -f ex.out } function test_ex_include { make -C ex V=1 clean > ex.out 2>&1 # build with krava.h include touch ex/krava.h make -C ex V=1 CFLAGS=-DINCLUDE >> ex.out 2>&1 if [ ! -x ./ex/ex ]; then echo FAILED exit -1 fi # build without the include rm -f ex/krava.h ex/ex make -C ex V=1 >> ex.out 2>&1 if [ ! -x ./ex/ex ]; then echo FAILED exit -1 fi make -C ex V=1 clean > /dev/null 2>&1 rm -f ex.out } echo -n Testing.. test_ex test_ex_suffix test_ex_include echo OK alue='nds-private-remove'>nds-private-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/jz4780-cgu.h
ut type='hidden' name='h' value='nds-private-remove'/>
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2017-01-29 12:40:52 +0100
committerKalle Valo <kvalo@codeaurora.org>2017-01-31 09:08:52 +0200
commit33e962c8871f015f5c8978384553dddcf5b81b22 (patch)
tree43aff96c2ee21d9e0fa2018457778a4de52053cd /tools/lib/symbol/kallsyms.c
parent575ddce0507789bf9830d089557d2199d2f91865 (diff)
rt2x00: fix clk_get call
clk_get() takes two arguments and might return ERR_PTR(), so we have to nullify pointer on that case, to do not break further call to clk_get_rate(). Reported-by: Felix Fietkau <nbd@nbd.name> Fixes: 34db70b92fae ("rt2x00: add copy of clk for soc devices") Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/lib/symbol/kallsyms.c')