Linus Torvalds
d834c16516
pccard_store_cis: fix wrong error handling
...
The test for the error from pcmcia_replace_cis() was incorrect, and
would always trigger (because if an error didn't happen, the "ret" value
would not be zero, it would be the passed-in count).
Reported and debugged by Fabrice Bellet <fabrice@bellet.info>
Rather than just fix the single broken test, make the code in question
use an understandable code-sequence instead, fixing the whole function
to be more readable.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-01 13:17:44 -07:00
..
2006-09-26 15:38:51 -07:00
2006-10-01 00:39:19 -07:00
2006-09-27 05:41:13 -04:00
2006-09-24 20:09:33 -07:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:24 -07:00
2006-09-28 18:01:30 -07:00
2006-09-30 20:52:31 +02:00
2006-10-01 00:40:55 -07:00
2006-07-31 13:28:36 -07:00
2006-09-26 23:02:34 -04:00
2006-09-21 11:46:22 +10:00
2006-07-21 14:50:13 -07:00
2006-08-06 08:57:46 -07:00
2006-09-27 08:26:19 -07:00
2006-09-30 20:29:23 +02:00
2006-09-29 09:18:09 -07:00
2006-10-01 00:39:24 -07:00
2006-10-01 00:39:21 -07:00
2006-10-01 00:39:24 -07:00
2006-09-30 09:38:19 -07:00
2006-10-01 00:39:30 -07:00
2006-10-01 00:39:23 -07:00
2006-10-01 00:39:21 -07:00
2006-10-01 00:39:21 -07:00
2006-10-01 00:39:24 -07:00
2006-09-30 20:52:31 +02:00
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:23 -07:00
2006-09-29 09:18:10 -07:00
2006-09-27 08:26:18 -07:00
2006-10-01 00:39:23 -07:00
2006-09-30 20:52:31 +02:00
2006-10-01 00:39:28 -07:00
2006-09-27 08:26:18 -07:00
2006-07-02 13:58:52 -07:00
2006-10-01 00:39:23 -07:00
2006-10-01 00:39:17 -07:00
2006-10-01 13:17:44 -07:00
2006-10-01 00:39:23 -07:00
2006-10-01 10:39:01 -07:00
2006-10-01 00:39:24 -07:00
2006-09-18 01:47:13 -07:00
2006-10-01 00:39:24 -07:00
2006-10-01 00:39:32 -07:00
2006-07-02 13:58:50 -07:00
2006-07-03 15:27:09 -07:00
2006-07-02 13:58:50 -07:00
2006-10-01 00:39:30 -07:00
2006-09-30 09:36:56 -07:00
2006-07-12 15:38:28 -07:00
2006-08-10 07:31:37 -04:00
2006-08-10 07:31:37 -04:00