SOURCES: kernel-char-frandom-kdev_t.patch (NEW) - remove usage of ...
jajcus
jajcus at pld-linux.org
Fri Feb 24 10:52:27 CET 2006
Author: jajcus Date: Fri Feb 24 09:52:27 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- remove usage of nonexistent (any more) kernel function or macro
---- Files affected:
SOURCES:
kernel-char-frandom-kdev_t.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/kernel-char-frandom-kdev_t.patch
diff -u /dev/null SOURCES/kernel-char-frandom-kdev_t.patch:1.1
--- /dev/null Fri Feb 24 10:52:27 2006
+++ SOURCES/kernel-char-frandom-kdev_t.patch Fri Feb 24 10:52:22 2006
@@ -0,0 +1,12 @@
+diff -dur -x '*~' frandom-0.8.orig/frandom.c frandom-0.8/frandom.c
+--- frandom-0.8.orig/frandom.c 2004-04-18 09:43:45.000000000 +0200
++++ frandom-0.8/frandom.c 2006-02-24 10:46:02.000000000 +0100
+@@ -188,7 +188,7 @@
+
+ struct frandom_state *state;
+
+- int num =MINOR(kdev_t_to_nr(inode->i_rdev));
++ int num =MINOR(inode->i_rdev);
+ if ((num != frandom_minor) && (num != erandom_minor)) return -ENODEV;
+
+ state = kmalloc(sizeof(struct frandom_state), GFP_KERNEL);
================================================================
More information about the pld-cvs-commit
mailing list