aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorMathias Krause <[email protected]>2013-02-05 18:19:14 +0100
committerHerbert Xu <[email protected]>2013-02-19 20:27:04 +0800
commite336ed9647b06e3bb52995dbc51101cbdf39f2a2 (patch)
tree08ad18361dc19e23ad2941dbb595793107245eaa /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 (diff)
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 <[email protected]> Cc: Steffen Klassert <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions