tracing/mm: val should be signed
PATCH 1/1 tracing/mm: val should be signed
If not signed the `val < 0' test below doesn't make sense. Also strict_strtol requires a long pointer.
Signed-off-by Roel Kluin <[email protected]>
---
I think this is what was intended? please review.
kernel/trace/trace_mm.c +2 -1
@@ -54,7 +54,8 @@ static ssize_t trace_mm_dump_range_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) { - unsigned long val, start, end; + unsigned long start, end; +long val;char buf[64 ];int ret;