]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: libcfs: improve reporting error for crypto performance
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 26 Mar 2016 19:40:55 +0000 (15:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 19:06:51 +0000 (12:06 -0700)
commit78675cb1abec09f1c93f53457b4f7859273d8d0a
tree158cb2aaa8e3413119691bf20ccc00dcba182e28
parent8260d4e2c72b6fc02ab0bae45f3ed0f259092368
staging: lustre: libcfs: improve reporting error for crypto performance

Set cfs_crypto_hash_speeds[X] result to the actual error instead
of -1. Make the error message more clear and informative.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5053
Reviewed-on: http://review.whamcloud.com/9990
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/libcfs/linux/linux-crypto.c