* [PATCH 2.4] nwflash.c -EFAULT retcode
@ 2004-08-13 18:57 O.Sezer
0 siblings, 0 replies; only message in thread
From: O.Sezer @ 2004-08-13 18:57 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 65 bytes --]
missing -EFAULT retcode in nwflash.c, from 2.6
Özkan Sezer
[-- Attachment #2: nwflash-2.6-fixes.diff --]
[-- Type: text/plain, Size: 292 bytes --]
--- 27rc5~/drivers/char/nwflash.c 2004-08-07 14:02:42.000000000 +0300
+++ 27rc5/drivers/char/nwflash.c 2004-08-07 14:18:04.000000000 +0300
@@ -159,7 +159,8 @@
if (ret == 0) {
ret = count;
*ppos = p + count;
- }
+ } else
+ ret = -EFAULT;
up(&nwflash_sem);
}
return ret;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-13 18:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-13 18:57 [PATCH 2.4] nwflash.c -EFAULT retcode O.Sezer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.