Re: [PATCH v6 1/3] staging: zcache: fix static variables defined indebug.h but used in mutiple C files

From: Konrad Rzeszutek Wilk
Date: Wed Apr 03 2013 - 16:13:26 EST


On Wed, Apr 3, 2013 at 6:16 AM, Wanpeng Li <liwanp@xxxxxxxxxxxxxxxxxx> 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 <liwanp@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/