]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers: staging: lustre: Fix "space prohibited before that close parenthesis ')...
authorGreg Donald <gdonald@gmail.com>
Mon, 20 Oct 2014 15:27:40 +0000 (10:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 08:30:27 +0000 (16:30 +0800)
Fix checkpatch.pl "space prohibited before that close parenthesis ')'" errors

Signed-off-by: Greg Donald <gdonald@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lustre_capa.h
drivers/staging/lustre/lustre/llite/dir.c
drivers/staging/lustre/lustre/llite/vvp_io.c
drivers/staging/lustre/lustre/obdclass/capa.c

index ab6b9ea98a7090b2e969087970a09b5380172042..fe19534ebd8fbb15dddee4afaa44583511d508de 100644 (file)
@@ -154,7 +154,7 @@ static inline __u32 capa_expiry(struct lustre_capa *capa)
 }
 
 void _debug_capa(struct lustre_capa *, struct libcfs_debug_msg_data *,
-                const char *fmt, ... );
+                const char *fmt, ...);
 #define DEBUG_CAPA(level, capa, fmt, args...)                            \
 do {                                                                      \
        if (((level) & D_CANTMASK) != 0 ||                                   \
index f9b30cfa23ec85daebfddcf22f424e10a8cf3389..661b2cf2f8044502dde6c9f3f63b9fb788dcf35c 100644 (file)
@@ -1384,7 +1384,7 @@ lmv_out_free:
                if (copy_from_user(lumv1, lumv1p, sizeof(*lumv1)))
                        return -EFAULT;
 
-               if ((lumv1->lmm_magic == LOV_USER_MAGIC_V3) ) {
+               if (lumv1->lmm_magic == LOV_USER_MAGIC_V3) {
                        if (copy_from_user(&lumv3, lumv3p, sizeof(lumv3)))
                                return -EFAULT;
                }
index d3f967a78138dfd266bdd6c2e969d18da23c7b83..168aafb95f251078d5ff19b60fb709d0493c1b2d 100644 (file)
@@ -709,7 +709,7 @@ static int vvp_io_fault_start(const struct lu_env *env,
        }
 
 
-       if (fio->ft_mkwrite ) {
+       if (fio->ft_mkwrite) {
                pgoff_t last_index;
                /*
                 * Capture the size while holding the lli_trunc_sem from above
index cd1abce378eaae0f8ceab6840efa0a0c8b91d498..8d80ea4833c00fd3729f756091ec79d297898a94 100644 (file)
@@ -302,7 +302,7 @@ int capa_encrypt_id(__u32 *d, __u32 *s, __u8 *key, int keylen)
 
        /* passing "aes" in a variable instead of a constant string keeps gcc
         * 4.3.2 happy */
-       tfm = crypto_alloc_blkcipher(alg, 0, 0 );
+       tfm = crypto_alloc_blkcipher(alg, 0, 0);
        if (IS_ERR(tfm)) {
                CERROR("failed to load transform for aes\n");
                return PTR_ERR(tfm);
@@ -355,7 +355,7 @@ int capa_decrypt_id(__u32 *d, __u32 *s, __u8 *key, int keylen)
 
        /* passing "aes" in a variable instead of a constant string keeps gcc
         * 4.3.2 happy */
-       tfm = crypto_alloc_blkcipher(alg, 0, 0 );
+       tfm = crypto_alloc_blkcipher(alg, 0, 0);
        if (IS_ERR(tfm)) {
                CERROR("failed to load transform for aes\n");
                return PTR_ERR(tfm);
@@ -407,7 +407,7 @@ EXPORT_SYMBOL(capa_cpy);
 
 void _debug_capa(struct lustre_capa *c,
                 struct libcfs_debug_msg_data *msgdata,
-                const char *fmt, ... )
+                const char *fmt, ...)
 {
        va_list args;
        va_start(args, fmt);