Commit 7333261f authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] Zorro loff_t

Zorro: trivial patch to use loff_t and not int (from Silvio Cesare
<silvio@qualys.com>)
parent 0e1cb392
......@@ -51,7 +51,7 @@ proc_bus_zorro_read(struct file *file, char *buf, size_t nbytes, loff_t *ppos)
struct proc_dir_entry *dp = PDE(ino);
struct zorro_dev *dev = dp->data;
struct ConfigDev cd;
int pos = *ppos;
loff_t pos = *ppos;
if (pos >= sizeof(struct ConfigDev))
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment