projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1d8843
)
pcmcia: fix incorrect bracketing on a test
author
Alan
<gnomes@lxorguk.ukuu.org.uk>
Wed, 14 Jan 2015 18:46:26 +0000
(18:46 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 17:18:00 +0000
(09:18 -0800)
Reported by wonderful 0-Day Test infrastructure.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pcmcia/rsrc_pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pcmcia/rsrc_pci.c
b/drivers/pcmcia/rsrc_pci.c
index 21c3683b1a53679ee04931cad5298b61f865fdb0..1f67b3ba70fbb49df128e04a9de2432ee7e958cb 100644
(file)
--- a/
drivers/pcmcia/rsrc_pci.c
+++ b/
drivers/pcmcia/rsrc_pci.c
@@
-156,7
+156,7
@@
static struct resource *res_pci_find_mem(u_long base, u_long num,
static int res_pci_init(struct pcmcia_socket *s)
{
- if (!s->cb_dev ||
(!
s->features & SS_CAP_PAGE_REGS)) {
+ if (!s->cb_dev ||
!(
s->features & SS_CAP_PAGE_REGS)) {
dev_err(&s->dev, "not supported by res_pci\n");
return -EOPNOTSUPP;
}