lkml.org 
[lkml]   [2002]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH TRIVIAL] 2.5.31/drivers/zorro/proc.c
trivial patch to use loff_t and not int.

--
Silvio
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;
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.037 / U:3.616 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site