Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758775AbbBHR5F (ORCPT ); Sun, 8 Feb 2015 12:57:05 -0500 Received: from mail-lb0-f180.google.com ([209.85.217.180]:36564 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758529AbbBHR5E (ORCPT ); Sun, 8 Feb 2015 12:57:04 -0500 MIME-Version: 1.0 Date: Sun, 8 Feb 2015 19:57:01 +0200 Message-ID: Subject: [PATCH v2] staging: lustre: fix coding style errors in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c From: Tal Shorer To: "Drokin, Oleg" Cc: "" , "Dilger, Andreas" , "" , "" , "" , "" , "" , "" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1431 Lines: 39 Signed-off-by: Tal Shorer --- 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 #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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/