summaryrefslogtreecommitdiff
path: root/arch/h8300/lib
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2013-02-05 21:19:14 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2013-02-19 16:27:04 +0400
commite336ed9647b06e3bb52995dbc51101cbdf39f2a2 (patch)
tree08ad18361dc19e23ad2941dbb595793107245eaa /arch/h8300/lib
parent9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 (diff)
downloadlinux-e336ed9647b06e3bb52995dbc51101cbdf39f2a2.tar.xz
crypto: user - fix empty string test in report API
The current test for empty strings fails because it is testing the address of a field, not a pointer. So the test will always be true. Test the first character in the string to not be null instead. Signed-off-by: Mathias Krause <minipli@googlemail.com> Cc: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/h8300/lib')
0 files changed, 0 insertions, 0 deletions