Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1619398 > unrolled thread
| Started by | Finn Thain <fthain@telegraphics.com.au> |
|---|---|
| First post | 2017-04-09 02:00 +0200 |
| Last post | 2017-04-09 02:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 05/10] nubus: Fix nubus_rewinddir (from mac68k CVS) Finn Thain <fthain@telegraphics.com.au> - 2017-04-09 02:00 +0200
| From | Finn Thain <fthain@telegraphics.com.au> |
|---|---|
| Date | 2017-04-09 02:00 +0200 |
| Subject | [PATCH 05/10] nubus: Fix nubus_rewinddir (from mac68k CVS) |
| Message-ID | <tu8qR-3Bp-7@gated-at.bofh.it> |
From: David Huggins-Daines <dhd@debian.org>
A long forgotten fix from the linux-mac68k CVS:
Initialize dir->done pointer in nubus_rewinddir().
The original commit is here:
http://linux-mac68k.cvs.sourceforge.net/viewvc/linux-mac68k/linux-mac68k/drivers/nubus/nubus.c?r1=1.22&r2=1.22.2.1&pathrev=linux-2_2
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
---
drivers/nubus/nubus.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c
index 3319cf1..ea9202d 100644
--- a/drivers/nubus/nubus.c
+++ b/drivers/nubus/nubus.c
@@ -285,6 +285,8 @@ EXPORT_SYMBOL(nubus_readdir);
int nubus_rewinddir(struct nubus_dir* dir)
{
dir->ptr = dir->base;
+ dir->done = 0;
+
return 0;
}
EXPORT_SYMBOL(nubus_rewinddir);
--
2.10.2
Back to top | Article view | linux.kernel
csiph-web