

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-ppc-akpm/drivers/macintosh/via-pmu.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/macintosh/via-pmu.c~verify_area-cleanup-drivers-part-1-fix drivers/macintosh/via-pmu.c
--- 25-ppc/drivers/macintosh/via-pmu.c~verify_area-cleanup-drivers-part-1-fix	2005-03-04 00:38:34.000000000 -0800
+++ 25-ppc-akpm/drivers/macintosh/via-pmu.c	2005-03-04 00:38:41.000000000 -0800
@@ -2774,7 +2774,7 @@ pmu_read(struct file *file, char __user 
 
 	if (count < 1 || pp == 0)
 		return -EINVAL;
-	if (!access_ok(VERIFY_WRITE, buf, count);
+	if (!access_ok(VERIFY_WRITE, buf, count))
 		return -EFAULT;
 
 	spin_lock_irqsave(&pp->lock, flags);
_
