This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / fs / sysfs / file.c
index 159d99f..72cd707 100644 (file)
@@ -89,7 +89,7 @@ static int fill_read_buffer(struct file * file, struct sysfs_buffer * buffer)
                return -ENOMEM;
 
        count = ops->show(kobj,attr,buffer->page);
-       BUG_ON(count > (ssize_t)PAGE_SIZE);
+       BUG_ON(count > PAGE_SIZE);
        if (count >= 0)
                buffer->count = count;
        else