git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git]
/
arch
/
cris
/
arch-v32
/
drivers
/
cryptocop.c
diff --git
a/arch/cris/arch-v32/drivers/cryptocop.c
b/arch/cris/arch-v32/drivers/cryptocop.c
index
c59ee28
..
ba096eb
100644
(file)
--- a/
arch/cris/arch-v32/drivers/cryptocop.c
+++ b/
arch/cris/arch-v32/drivers/cryptocop.c
@@
-2302,7
+2302,7
@@
static int cryptocop_job_setup(struct cryptocop_prio_job **pj, struct cryptocop_
static int cryptocop_open(struct inode *inode, struct file *filp)
{
- int p =
MINOR(inode->i_rdev
);
+ int p =
iminor(inode
);
if (p != CRYPTOCOP_MINOR) return -EINVAL;