From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx105.postini.com [74.125.245.105]) by kanga.kvack.org (Postfix) with SMTP id 18F4B6B0006 for ; Wed, 3 Apr 2013 16:13:23 -0400 (EDT) Received: by mail-we0-f171.google.com with SMTP id d46so1517523wer.16 for ; Wed, 03 Apr 2013 13:13:21 -0700 (PDT) MIME-Version: 1.0 Reply-To: konrad@darnok.org In-Reply-To: <1364984183-9711-2-git-send-email-liwanp@linux.vnet.ibm.com> References: <1364984183-9711-1-git-send-email-liwanp@linux.vnet.ibm.com> <1364984183-9711-2-git-send-email-liwanp@linux.vnet.ibm.com> From: Konrad Rzeszutek Wilk Date: Wed, 3 Apr 2013 16:13:01 -0400 Message-ID: Subject: Re: [PATCH v6 1/3] staging: zcache: fix static variables defined in debug.h but used in mutiple C files Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Wanpeng Li Cc: Greg Kroah-Hartman , Andrew Morton , Dan Magenheimer , Seth Jennings , Minchan Kim , linux-mm@kvack.org, "linux-kernel@vger.kernel.org" , Geert Uytterhoeven , Fengguang Wu On Wed, Apr 3, 2013 at 6:16 AM, Wanpeng Li wrote: > After commit 95bdaee214 ("zcache: Move debugfs code out of zcache-main.c file") > be merged, most of knods in zcache debugfs just export zero since these variables > are defined in debug.h but are in use in multiple C files zcache-main.c and debug.c, > in this case variables can't be treated as shared variables. > > Signed-off-by: Wanpeng Li Reviewed-by: Konrad Rzeszutek Wilk -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org