Skip to contentSkip to conversation

2.5.31/drivers/zorro/proc.c

PATCH Applied Silvio Cesare 2 participants 2 messages Aug 22, 2002 – Aug 23, 2002 m68k architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5.31/drivers/zorro/proc.c

trivial patch to use loff_t and not int.

--
Silvio

linux-2.5.31/drivers/zorro/proc.c renamed from drivers/zorro/proc.c +1 -1
diff -u linux-2.5.31/drivers/zorro/proc.c dev/linux-2.5.31/drivers/zorro/proc.c
@@ -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;
maintainer Applied
#1 lore raw
Quoted 1 line · Silvio Cesare

trivial patch to use loff_t and not int.

Thanks! Applied to Linux/m68k CVS (2.4.x and 2.5.x).

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds