summaryrefslogtreecommitdiff
path: root/xmalloc.h
AgeCommit message (Expand)AuthorFilesLines
2015-04-07xmalloc: Add attribute warn_unused_result to allocation functionsTobias Klauser1-10/+10
2015-02-05xmalloc: Make xrealloc() arguments conform to realloc()Tobias Klauser1-1/+1
2014-06-25xmalloc: Add and use xcallocTobias Klauser1-0/+1
2013-06-15curve: simplify curve25519_proto_init and othersDaniel Borkmann1-0/+6
2013-06-12ioops: misc: add dup{,2}_or_die to ioopsDaniel Borkmann1-1/+0
2013-06-04misc: cleanup header commentsDaniel Borkmann1-6/+0
2013-05-12xmalloc: Make xfree a two part macro/inlineTobias Klauser1-6/+11
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+35
/lib?h=nds-private-remove&id=575ddce0507789bf9830d089557d2199d2f91865'>575ddce0507789bf9830d089557d2199d2f91865 (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/testing/selftests/lib')