staging: lustre: libcfs: print crypto performance result only on success
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 26 Mar 2016 19:40:54 +0000 (15:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 19:06:51 +0000 (12:06 -0700)
commit8260d4e2c72b6fc02ab0bae45f3ed0f259092368
tree1b78a42810ed9c035d59c2cec848aec36631c81d
parent6ba3f37825982cf71e55ef87aadbffe8f4345a05
staging: lustre: libcfs: print crypto performance result only on success

Only print info about the crypto performance when no error
is encounter.

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