projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0779fd
)
staging: vme: fix bogus clearing of the bus number in vme_free_bus_num
author
Emilio G. Cota
<cota@braap.org>
Fri, 12 Nov 2010 11:14:27 +0000
(11:14 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 16 Nov 2010 19:40:14 +0000
(11:40 -0800)
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vme/vme.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vme/vme.c
b/drivers/staging/vme/vme.c
index
47e9d5c
..
d9fc864
100644
(file)
--- a/
drivers/staging/vme/vme.c
+++ b/
drivers/staging/vme/vme.c
@@
-1326,7
+1326,7
@@
static int vme_alloc_bus_num(void)
static void vme_free_bus_num(int bus)
{
mutex_lock(&vme_bus_num_mtx);
- vme_bus_numbers
|
= ~(0x1 << bus);
+ vme_bus_numbers
&
= ~(0x1 << bus);
mutex_unlock(&vme_bus_num_mtx);
}