]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging/lustre/obdecho: Fix style vs open parenthesis alignment
authorOleg Drokin <green@linuxhacker.ru>
Fri, 26 Feb 2016 06:50:08 +0000 (01:50 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 03:17:41 +0000 (19:17 -0800)
This mostly fixes checkpatch complaints about
"Alignment should match open parenthesis"

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

index 3be28c56a3daaa630223cb628045703c8366c289..ab56e67b6f96c5739744a687b2a48bc69f46e507 100644 (file)
@@ -220,7 +220,7 @@ static struct lu_kmem_descr echo_caches[] = {
  * @{
  */
 static struct page *echo_page_vmpage(const struct lu_env *env,
-                                   const struct cl_page_slice *slice)
+                                    const struct cl_page_slice *slice)
 {
        return cl2echo_page(slice)->ep_vmpage;
 }
@@ -367,7 +367,7 @@ static struct cl_lock_operations echo_lock_ops = {
  * @{
  */
 static int echo_page_init(const struct lu_env *env, struct cl_object *obj,
-                       struct cl_page *page, struct page *vmpage)
+                         struct cl_page *page, struct page *vmpage)
 {
        struct echo_page *ep = cl_object_page_slice(obj, page);
        struct echo_object *eco = cl2echo_obj(obj);
@@ -529,7 +529,7 @@ static void echo_object_free(const struct lu_env *env, struct lu_object *obj)
 }
 
 static int echo_object_print(const struct lu_env *env, void *cookie,
-                           lu_printer_t p, const struct lu_object *o)
+                            lu_printer_t p, const struct lu_object *o)
 {
        struct echo_object *obj = cl2echo_obj(lu2cl(o));
 
@@ -621,7 +621,7 @@ static void echo_site_fini(const struct lu_env *env, struct echo_device *ed)
 }
 
 static void *echo_thread_key_init(const struct lu_context *ctx,
-                         struct lu_context_key *key)
+                                 struct lu_context_key *key)
 {
        struct echo_thread_info *info;
 
@@ -632,7 +632,7 @@ static void *echo_thread_key_init(const struct lu_context *ctx,
 }
 
 static void echo_thread_key_fini(const struct lu_context *ctx,
-                        struct lu_context_key *key, void *data)
+                                struct lu_context_key *key, void *data)
 {
        struct echo_thread_info *info = data;
 
@@ -640,7 +640,7 @@ static void echo_thread_key_fini(const struct lu_context *ctx,
 }
 
 static void echo_thread_key_exit(const struct lu_context *ctx,
-                        struct lu_context_key *key, void *data)
+                                struct lu_context_key *key, void *data)
 {
 }
 
@@ -652,7 +652,7 @@ static struct lu_context_key echo_thread_key = {
 };
 
 static void *echo_session_key_init(const struct lu_context *ctx,
-                                 struct lu_context_key *key)
+                                  struct lu_context_key *key)
 {
        struct echo_session_info *session;
 
@@ -663,7 +663,7 @@ static void *echo_session_key_init(const struct lu_context *ctx,
 }
 
 static void echo_session_key_fini(const struct lu_context *ctx,
-                                struct lu_context_key *key, void *data)
+                                 struct lu_context_key *key, void *data)
 {
        struct echo_session_info *session = data;
 
@@ -671,7 +671,7 @@ static void echo_session_key_fini(const struct lu_context *ctx,
 }
 
 static void echo_session_key_exit(const struct lu_context *ctx,
-                                struct lu_context_key *key, void *data)
+                                 struct lu_context_key *key, void *data)
 {
 }
 
@@ -720,7 +720,7 @@ static struct lu_device *echo_device_alloc(const struct lu_env *env,
        tgt = class_name2obd(lustre_cfg_string(cfg, 1));
        if (!tgt) {
                CERROR("Can not find tgt device %s\n",
-                       lustre_cfg_string(cfg, 1));
+                      lustre_cfg_string(cfg, 1));
                rc = -ENODEV;
                goto out;
        }
@@ -796,7 +796,7 @@ out:
 }
 
 static int echo_device_init(const struct lu_env *env, struct lu_device *d,
-                         const char *name, struct lu_device *next)
+                           const char *name, struct lu_device *next)
 {
        LBUG();
        return 0;