| To: | linux-mips@linux-mips.org, ralf@linux-mips.org, linux-kernel@vger.kernel.org |
|---|---|
| Subject: | [PATCH] Fix oprofile -Werror compile failure encountered while doing a MIPS Malta build. |
| From: | Dragos Tatulea <dragos.tatulea@gmail.com> |
| Date: | Sat, 25 Sep 2010 21:20:05 +0200 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=CasjPLKHNM4aBvIKKMAy9zCFE5fE1mF9t+/3ebz+F4M=; b=Pq3q27l6W3r8mLCZzO6eWG0hj+1GhLfE4DMAUPpUMw47iaym8LNZNDKISMA296FYUo SZQYNFNoE7gFYaz6DdFvupfyZB47SFhxlI7O6L4idx9DXhtiSgd+JWUIiYC0uehd1BE1 mXhlK9tXXQoDl7ST1pbYMWQeS3ITjDpgqTk8M= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=vejG9YQPdMTjtQuzWhEAA8EVu2Xz+eUVeULCmrzS5kSXy9Yi2GFWE9FcVxYlN6KLdI IHuG7DBxvPmyhsDf7XwACmEAeext9dQKQRYR9mUc5MtS4phVsoD/R+BQwQxpJxG5hLWU Jitqbf6orEDUm292eqr7XgGG+5WCnsaIaBzPk= |
| Sender: | linux-mips-bounce@linux-mips.org |
Signed-off-by: Dragos Tatulea <dragos.tatulea@gmail.com>
---
drivers/oprofile/buffer_sync.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c
index b7e755f..a832644 100644
--- a/drivers/oprofile/buffer_sync.c
+++ b/drivers/oprofile/buffer_sync.c
@@ -500,7 +500,7 @@ void sync_buffer(int cpu)
{
struct mm_struct *mm = NULL;
struct mm_struct *oldmm;
- unsigned long val;
+ unsigned long uninitialized_var(val);
struct task_struct *new;
unsigned long cookie = 0;
int in_kernel = 1;
--
1.7.2.3
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] Fix MIPS math-emu -Werror compile failure encountered while doing a Malta build., Dragos Tatulea |
|---|---|
| Next by Date: | Re: [PATCH 7/9] swiotlb: Make bounce buffer bounds non-static., FUJITA Tomonori |
| Previous by Thread: | [PATCH] Fix MIPS math-emu -Werror compile failure encountered while doing a Malta build., Dragos Tatulea |
| Next by Thread: | [PATCHv2 0/7] PWM core driver for pwm based led and backlight driver, Arun Murthy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |