[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1423498556-18703-1-git-send-email-md.jamalmohiuddin@gmail.com>
Date: Mon, 9 Feb 2015 21:45:55 +0530
From: Mohammad Jamal <md.jamalmohiuddin@...il.com>
To: oleg.drokin@...el.com, andreas.dilger@...el.com,
gregkh@...uxfoundation.org, sudipm.mukherjee@...il.com,
joe@...ches.com, devel@...verdev.osuosl.org,
HPDD-discuss@...ts.01.org, linux-kernel@...r.kernel.org
Cc: Mohammad Jamal <md.jamalmohiuddin@...il.com>
Subject: [PATCH] staging: lustre: lnet: lnet: lip-ptl:fix sparse warning of static declaration
This patch adds a static keyword to variable portal_rotor to
suppress the sparse warning of static declaration
Signed-off-by: Mohammad Jamal <md.jamalmohiuddin@...il.com>
---
drivers/staging/lustre/lnet/lnet/lib-ptl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lnet/lnet/lib-ptl.c b/drivers/staging/lustre/lnet/lnet/lib-ptl.c
index 19ed696..6652036 100644
--- a/drivers/staging/lustre/lnet/lnet/lib-ptl.c
+++ b/drivers/staging/lustre/lnet/lnet/lib-ptl.c
@@ -39,7 +39,7 @@
#include "../../include/linux/lnet/lib-lnet.h"
/* NB: add /proc interfaces in upcoming patches */
-int portal_rotor = LNET_PTL_ROTOR_HASH_RT;
+static int portal_rotor = LNET_PTL_ROTOR_HASH_RT;
module_param(portal_rotor, int, 0644);
MODULE_PARM_DESC(portal_rotor, "redirect PUTs to different cpu-partitions");
--
1.7.9.5
--
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