projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36d618b
)
[ARM] pxa/palm: fix possibly uninitialized variable in PalmTC-pcmcia
author
Marek Vasut
<marek.vasut@gmail.com>
Thu, 3 Sep 2009 02:40:03 +0000
(
04:40
+0200)
committer
Eric Miao
<eric.y.miao@gmail.com>
Thu, 10 Sep 2009 10:49:36 +0000
(18:49 +0800)
This 'problem' actually cant cause a failure of the driver, but it's always
better to be correct.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/pcmcia/pxa2xx_palmtc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pcmcia/pxa2xx_palmtc.c
b/drivers/pcmcia/pxa2xx_palmtc.c
index 2c295078032a1466c015ede921bcc333f9b72414..3a8993ed562120f7da811620c770d98f23430831 100644
(file)
--- a/
drivers/pcmcia/pxa2xx_palmtc.c
+++ b/
drivers/pcmcia/pxa2xx_palmtc.c
@@
-156,7
+156,7
@@
static int palmtc_wifi_powerup(void)
static int palmtc_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
const socket_state_t *state)
{
- int ret;
+ int ret
= 1
;
if (state->Vcc == 0)
ret = palmtc_wifi_powerdown();