[<prev] [next>] [day] [month] [year] [list]
Message-ID: <AANLkTim-m3sBPV=cvdBGga=tYx5Md-thWS6V9T+2CMBT@mail.gmail.com>
Date: Wed, 20 Oct 2010 17:04:13 +0600
From: Rakib Mullick <rakib.mullick@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] kernel/stop_machine.c: Fix unused variable waring.
Fixes the following unused variable warning.
kernel/stop_machine.c: In function ‘cpu_stopper_thread’:
kernel/stop_machine.c:265: warning: unused variable ‘ksym_buf’
Signed-off-by: Rakib Mullick <rakib.mullick@...il.com>
---
--- linus-rc8/kernel/stop_machine.c 2010-10-20 16:48:16.000000000 +0600
+++ rakib-rc8/kernel/stop_machine.c 2010-10-20 16:48:35.000000000 +0600
@@ -262,7 +262,7 @@ repeat:
cpu_stop_fn_t fn = work->fn;
void *arg = work->arg;
struct cpu_stop_done *done = work->done;
- char ksym_buf[KSYM_NAME_LEN];
+ char ksym_buf[KSYM_NAME_LEN] __maybe_unused;
__set_current_state(TASK_RUNNING);
--
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