crypto: qat - checkpatch PARENTHESIS_ALIGNMENT and LOGICAL_CONTINUATIONS
authorAllan, Bruce W <bruce.w.allan@intel.com>
Tue, 31 Mar 2015 16:30:35 +0000 (09:30 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 1 Apr 2015 14:22:46 +0000 (22:22 +0800)
Cleanup code to fix the subject checkpatch warnings

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_crypto.c

index f064a9f..3bd705c 100644 (file)
@@ -110,8 +110,8 @@ struct qat_crypto_instance *qat_crypto_get_instance_node(int node)
        list_for_each(itr, adf_devmgr_get_head()) {
                accel_dev = list_entry(itr, struct adf_accel_dev, list);
                if ((node == dev_to_node(&GET_DEV(accel_dev)) ||
-                       dev_to_node(&GET_DEV(accel_dev)) < 0)
-                               && adf_dev_started(accel_dev))
+                    dev_to_node(&GET_DEV(accel_dev)) < 0) &&
+                   adf_dev_started(accel_dev))
                        break;
                accel_dev = NULL;
        }