mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH TRIVIAL] 2.5.31/drivers/zorro/proc.c
@ 2002-08-22 17:41 Silvio Cesare
  2002-08-23  6:35 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Silvio Cesare @ 2002-08-22 17:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: silvio

[-- Attachment #1: Type: text/plain, Size: 52 bytes --]

trivial patch to use loff_t and not int.

--
Silvio

[-- Attachment #2: patch.2.5.31.zorro --]
[-- Type: text/plain, Size: 422 bytes --]

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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-23  6:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22 17:41 [PATCH TRIVIAL] 2.5.31/drivers/zorro/proc.c Silvio Cesare
2002-08-23  6:35 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®