]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/mem.c
[PATCH] coverity: ipmi_msghandler() channels array overrun fix
[linux-2.6-omap-h63xx.git] / drivers / char / mem.c
index b64108dd765b7e5da99baf5369a33b6ad968c6d2..42187381506b7d0ff45dcdcc4df5dc2be7a2867f 100644 (file)
@@ -287,7 +287,7 @@ static ssize_t read_oldmem(struct file *file, char __user *buf,
        size_t read = 0, csize;
        int rc = 0;
 
-       while(count) {
+       while (count) {
                pfn = *ppos / PAGE_SIZE;
                if (pfn > saved_max_pfn)
                        return read;