Files
linux/drivers
Om Narasimhan a230a6785d [PATCH] pcmcia: au1000_generic fix
The previous code did something like,

if (error) goto out_err;
....
do {
             struct au1000_pcmcia_socket *skt = PCMCIA_SOCKET(i);
              del_timer_sync(&skt->poll_timer);
               pcmcia_unregister_socket(&skt->socket);
out_err:
               flush_scheduled_work();
               ops->hw_shutdown(skt);
               i--;
} while (i > 0)
.....

- On the error path, skt would not contain a valid value for the first
  iteration (skt is masked by uninitialized automatic skt)

- Does not do hw_shutdown() for 0th element of PCMCIA_SOCKET

Signed-off-by: Om Narasimhan <om.turyx@gmail.com>
Cc: "Yoichi Yuasa" <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2006-10-25 21:59:42 -04:00
..
…
…
…
2006-10-11 11:14:25 -07:00
2006-10-24 22:01:11 -07:00
2006-10-24 22:01:11 -07:00
2006-10-08 12:32:35 -07:00
2006-10-25 21:59:42 -04:00
2006-10-03 22:31:37 +02:00
2006-10-18 18:30:53 +02:00
2006-10-20 10:26:36 -07:00
…
2006-10-17 08:18:42 -07:00
2006-10-17 08:18:44 -07:00
2006-10-17 08:18:42 -07:00
…