projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6551198
)
paride: fix 'and' typo in drivers/block/paride/pt.c
author
Roel Kluin
<12o3l@tiscali.nl>
Mon, 5 Nov 2007 22:50:58 +0000
(14:50 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 5 Nov 2007 23:12:32 +0000
(15:12 -0800)
Fix 'and' typo (PT_WRITE_OK is defined 2)
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/paride/pt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/paride/pt.c
b/drivers/block/paride/pt.c
index 9f4e67ee1eb0628917155e99c31810bcbb4a6404..b91accf12656581066811fa68c18e78cfb655018 100644
(file)
--- a/
drivers/block/paride/pt.c
+++ b/
drivers/block/paride/pt.c
@@
-664,7
+664,7
@@
static int pt_open(struct inode *inode, struct file *file)
goto out;
err = -EROFS;
- if ((!
tape->flags & PT_WRITE_OK
) && (file->f_mode & 2))
+ if ((!
(tape->flags & PT_WRITE_OK)
) && (file->f_mode & 2))
goto out;
if (!(iminor(inode) & 128))