[PATCH -tip] cpumask: fix compile error in kernel/irq/proc.c
From: Li Zefan
Date: Wed Dec 31 2008 - 04:00:46 EST
Impact: Fix compile error
Pass correct argument type to is_affinity_mask_valid().
Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
---
kernel/irq/proc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/irq/proc.c b/kernel/irq/proc.c
index 2abd3a7..5a5ac60 100644
--- a/kernel/irq/proc.c
+++ b/kernel/irq/proc.c
@@ -111,7 +111,7 @@ static ssize_t default_affinity_write(struct file *file,
if (err)
goto out;
- if (!is_affinity_mask_valid(new_value)) {
+ if (!is_affinity_mask_valid(*new_value)) {
err = -EINVAL;
goto out;
}
--
1.5.4.rc3
--
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/