[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK5sBcEDmhjqoDM-ezs8DxpdEw4wv9m7uisFjHwSoRHe0bE99w@mail.gmail.com>
Date: Tue, 1 Jul 2014 11:58:00 +0530
From: Sachin Kamat <sachin.kamat@...sung.com>
To: Peter De Schrijver <pdeschrijver@...dia.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"mturquette@...aro.org" <mturquette@...aro.org>
Subject: Re: [PATCH 1/1] clk: Fix build warnings
On Mon, Jun 30, 2014 at 7:07 PM, Peter De Schrijver
<pdeschrijver@...dia.com> wrote:
> On Mon, Jun 30, 2014 at 11:40:54AM +0200, Sachin Kamat wrote:
>> ‘all_lists’ and ‘orphan_list’ is accessed only when DEBUG_FS is defined.
>> Thus, make their compilation conditional to fix the below warnings introduced
>> by commit 27b8d5f723 ("clk: flatten clk tree in debugfs"):
>> drivers/clk/clk.c:40:27: warning: ‘all_lists’ defined but not used [-Wunused-variable]
>> drivers/clk/clk.c:46:27: warning: ‘orphan_list’ defined but not used [-Wunused-variable]
>>
>
> Maybe just move them inside the existing #ifdef CONFIG_DEBUG_FS / #endif?
That makes sense. Thanks for the hint. Will re-spin.
Regards,
Sachin.
--
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