[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFDyS3MvO3Wrk3QX6__vWnWf6y+dJZEXdG9ke=HfEmLjSa8Kvw@mail.gmail.com>
Date: Sun, 8 Feb 2015 19:57:01 +0200
From: Tal Shorer <tal.shorer@...il.com>
To: "Drokin, Oleg" <oleg.drokin@...el.com>
Cc: "<linux-kernel@...r.kernel.org>" <linux-kernel@...r.kernel.org>,
"Dilger, Andreas" <andreas.dilger@...el.com>,
"<gregkh@...uxfoundation.org>" <gregkh@...uxfoundation.org>,
"<dan.carpenter@...cle.com>" <dan.carpenter@...cle.com>,
"<luca@...aceresoli.net>" <luca@...aceresoli.net>,
"<clabbe.montjoie@...il.com>" <clabbe.montjoie@...il.com>,
"<PDD-discuss@...ts.01.org>" <PDD-discuss@...ts.01.org>,
"<devel@...verdev.osuosl.org>" <devel@...verdev.osuosl.org>
Subject: [PATCH v2] staging: lustre: fix coding style errors in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c
Signed-off-by: Tal Shorer <tal.shorer@...il.com>
---
Decided not to #define the constants away because their addresses are
used later in the file.
drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c
b/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c
index c539e37..acc2e10 100644
--- a/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c
+++ b/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c
@@ -65,7 +65,7 @@
#include <asm/div64.h>
#include "../tracefile.h"
-static struct ctl_table_header *lnet_table_header = NULL;
+static struct ctl_table_header *lnet_table_header;
extern char lnet_upcall[1024];
/**
* The path of debug log dump upcall script.
@@ -308,7 +308,7 @@ static int proc_console_backoff(struct ctl_table
*table, int write,
dummy.proc_handler = &proc_dointvec;
if (!write) { /* read */
- backoff= libcfs_console_backoff;
+ backoff = libcfs_console_backoff;
rc = proc_dointvec(&dummy, write, buffer, lenp, ppos);
return rc;
}
--
2.2.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists