[PATCH TRIVIAL] 2.5.31/drivers/zorro/proc.c

Silvio Cesare (silvio@qualys.com)
Thu, 22 Aug 2002 10:41:27 -0700


--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

trivial patch to use loff_t and not int.

--
Silvio

--x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch.2.5.31.zorro"

diff -u linux-2.5.31/drivers/zorro/proc.c dev/linux-2.5.31/drivers/zorro/proc.c --- linux-2.5.31/drivers/zorro/proc.c Sat Aug 10 18:41:19 2002 +++ dev/linux-2.5.31/drivers/zorro/proc.c Thu Aug 22 10:36:00 2002 @@ -51,7 +51,7 @@ 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;

--x+6KMIRAuhnl3hBn-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/