OSDN Git Service

staging/lustre: Remove space after cast in cfs_crypto_hash_final()
authorOleg Drokin <green@linuxhacker.ru>
Tue, 16 Feb 2016 05:47:14 +0000 (00:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:33:11 +0000 (14:33 -0800)
This is against kernel-code style.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.c

index b0b1244..19a5132 100644 (file)
@@ -183,7 +183,7 @@ int cfs_crypto_hash_final(struct cfs_crypto_hash_desc *hdesc,
                *hash_len = size;
                return -ENOSPC;
        }
-       err = crypto_hash_final((struct hash_desc *) hdesc, hash);
+       err = crypto_hash_final((struct hash_desc *)hdesc, hash);
 
        if (err < 0) {
                /* May be caller can fix error */