Commit 557732ad authored by Greg Donald's avatar Greg Donald Committed by Greg Kroah-Hartman

drivers: staging: lustre: Fix "space prohibited before that close parenthesis ')'" errors

Fix checkpatch.pl "space prohibited before that close parenthesis ')'" errors
Signed-off-by: default avatarGreg Donald <gdonald@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 92a1daba
...@@ -154,7 +154,7 @@ static inline __u32 capa_expiry(struct lustre_capa *capa) ...@@ -154,7 +154,7 @@ static inline __u32 capa_expiry(struct lustre_capa *capa)
} }
void _debug_capa(struct lustre_capa *, struct libcfs_debug_msg_data *, void _debug_capa(struct lustre_capa *, struct libcfs_debug_msg_data *,
const char *fmt, ... ); const char *fmt, ...);
#define DEBUG_CAPA(level, capa, fmt, args...) \ #define DEBUG_CAPA(level, capa, fmt, args...) \
do { \ do { \
if (((level) & D_CANTMASK) != 0 || \ if (((level) & D_CANTMASK) != 0 || \
......
...@@ -1384,7 +1384,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -1384,7 +1384,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
if (copy_from_user(lumv1, lumv1p, sizeof(*lumv1))) if (copy_from_user(lumv1, lumv1p, sizeof(*lumv1)))
return -EFAULT; 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))) if (copy_from_user(&lumv3, lumv3p, sizeof(lumv3)))
return -EFAULT; return -EFAULT;
} }
......
...@@ -709,7 +709,7 @@ static int vvp_io_fault_start(const struct lu_env *env, ...@@ -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; pgoff_t last_index;
/* /*
* Capture the size while holding the lli_trunc_sem from above * Capture the size while holding the lli_trunc_sem from above
......
...@@ -302,7 +302,7 @@ int capa_encrypt_id(__u32 *d, __u32 *s, __u8 *key, int keylen) ...@@ -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 /* passing "aes" in a variable instead of a constant string keeps gcc
* 4.3.2 happy */ * 4.3.2 happy */
tfm = crypto_alloc_blkcipher(alg, 0, 0 ); tfm = crypto_alloc_blkcipher(alg, 0, 0);
if (IS_ERR(tfm)) { if (IS_ERR(tfm)) {
CERROR("failed to load transform for aes\n"); CERROR("failed to load transform for aes\n");
return PTR_ERR(tfm); return PTR_ERR(tfm);
...@@ -355,7 +355,7 @@ int capa_decrypt_id(__u32 *d, __u32 *s, __u8 *key, int keylen) ...@@ -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 /* passing "aes" in a variable instead of a constant string keeps gcc
* 4.3.2 happy */ * 4.3.2 happy */
tfm = crypto_alloc_blkcipher(alg, 0, 0 ); tfm = crypto_alloc_blkcipher(alg, 0, 0);
if (IS_ERR(tfm)) { if (IS_ERR(tfm)) {
CERROR("failed to load transform for aes\n"); CERROR("failed to load transform for aes\n");
return PTR_ERR(tfm); return PTR_ERR(tfm);
...@@ -407,7 +407,7 @@ EXPORT_SYMBOL(capa_cpy); ...@@ -407,7 +407,7 @@ EXPORT_SYMBOL(capa_cpy);
void _debug_capa(struct lustre_capa *c, void _debug_capa(struct lustre_capa *c,
struct libcfs_debug_msg_data *msgdata, struct libcfs_debug_msg_data *msgdata,
const char *fmt, ... ) const char *fmt, ...)
{ {
va_list args; va_list args;
va_start(args, fmt); va_start(args, fmt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment