[PATCH -tip] trace: trace.c fix signedness issue

From: Jaswinder Singh Rajput
Date: Sun Mar 22 2009 - 14:45:52 EST


From: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
Date: Mon, 23 Mar 2009 00:11:22 +0530
Subject: [PATCH] trace: trace.c fix signedness issue

Impact: cleanup

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
---
kernel/trace/trace.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 17bb88d..e85fc41 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -2929,8 +2929,8 @@ tracing_ctrl_write(struct file *filp, const char __user *ubuf,
size_t cnt, loff_t *ppos)
{
struct trace_array *tr = filp->private_data;
+ unsigned long val;
char buf[64];
- long val;
int ret;

if (cnt >= sizeof(buf))
--
1.6.0.6



--
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/