Brice Goglin
505db03639
[PATCH] Fix smsc_ircc_init return value
...
I noticed a strange return value in smsc_ircc_init in
drivers/net/irda/smsc_ircc2.c in rc4-mm1.
When reaching the line "if (ircc_fir > 0 && ircc_sir > 0)", ret is 0. So I
don't see the point of setting it to 0 in the "else" case. >From what I
see in 2.6.12 it should probably be set to -ENODEV at the begining of the
"else" case. The attached patch does this.
Note that I didn't actually see any breakage caused by this.
Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org>
Cc: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-07 16:57:59 -07:00
..
2005-07-11 21:13:56 -07:00
2005-06-29 18:10:54 +01:00
2005-08-29 15:32:25 -07:00
2005-09-05 17:57:22 -04:00
2005-09-05 17:57:23 -04:00
2005-08-29 15:32:25 -07:00
2005-08-26 16:30:30 -07:00
2005-09-07 16:57:59 -07:00
2005-08-11 17:09:25 -04:00
2005-08-19 03:11:38 -04:00
2005-09-05 18:12:08 -04:00
2005-08-01 19:13:59 -07:00
2005-08-24 01:03:34 -04:00
2005-09-05 17:57:23 -04:00
2005-08-29 15:32:25 -07:00
2005-09-06 00:47:18 -07:00
2005-09-07 16:57:30 -07:00
2005-07-27 16:26:20 -07:00
2005-06-28 15:25:31 -07:00
2005-06-27 00:41:51 -04:00
2005-08-18 16:59:14 -04:00
2005-07-27 16:26:08 -07:00
2005-06-28 15:25:31 -07:00
2005-07-27 16:26:08 -07:00
2005-06-27 23:23:05 -04:00
2005-07-12 17:21:56 -04:00
2005-07-06 12:55:20 -07:00
2005-09-05 00:06:15 -07:00
2005-08-29 16:10:38 -07:00
2005-08-01 19:14:01 -07:00
2005-08-01 19:14:01 -07:00
2005-06-28 15:25:31 -07:00
2005-08-18 16:59:14 -04:00
2005-08-25 16:18:33 -04:00
2005-08-19 03:52:49 -04:00
2005-06-28 15:25:31 -07:00
2005-07-21 14:16:54 -07:00
2005-06-28 15:25:31 -07:00
2005-08-19 02:12:16 -04:00
2005-06-27 00:40:33 -04:00
2005-06-27 00:40:33 -04:00
2005-06-27 00:40:33 -04:00
2005-06-28 15:25:31 -07:00
2005-08-30 13:31:56 +10:00
2005-08-18 16:59:14 -04:00
2005-08-31 22:43:42 -04:00
2005-08-23 01:32:12 -04:00
2005-09-05 18:10:00 -04:00
2005-06-28 15:25:31 -07:00
2005-06-28 15:25:31 -07:00
2005-08-18 22:14:39 -04:00
2005-07-06 12:55:20 -07:00
2005-08-23 01:32:12 -04:00
2005-08-29 16:53:08 -04:00
2005-09-05 18:08:30 -04:00
2005-09-05 18:08:30 -04:00
2005-07-12 12:08:43 -07:00
2005-06-28 15:25:31 -07:00
2005-07-11 23:23:46 -04:00
2005-09-05 18:02:31 -04:00
2005-07-27 16:26:08 -07:00
2005-06-28 15:25:31 -07:00
2005-07-31 00:54:14 -04:00
2005-06-28 15:25:31 -07:00
2005-07-27 16:26:20 -07:00
2005-07-08 14:57:23 -07:00
2005-08-29 15:33:26 -07:00
2005-07-08 14:57:23 -07:00
2005-08-29 15:32:25 -07:00
2005-08-27 04:41:01 -04:00
2005-08-29 15:31:42 -07:00
2005-08-11 00:10:45 -04:00
2005-09-05 17:57:23 -04:00
2005-08-30 00:37:35 -04:00
2005-06-28 15:25:31 -07:00
2005-08-29 15:31:14 -07:00
2005-09-05 18:06:53 -04:00
2005-06-28 15:25:31 -07:00
2005-08-27 04:41:01 -04:00
2005-08-16 17:03:13 -04:00
2005-06-28 16:27:32 -07:00
2005-06-27 23:08:09 -04:00
2005-07-31 00:55:11 -04:00
2005-08-29 10:42:40 -07:00
2005-08-23 01:32:12 -04:00
2005-08-23 01:32:12 -04:00
2005-08-23 01:32:12 -04:00
2005-06-28 15:25:31 -07:00
2005-06-28 15:25:31 -07:00
2005-07-07 18:23:36 -07:00
2005-07-07 18:23:36 -07:00
2005-09-01 17:41:07 -07:00
2005-09-01 17:40:46 -07:00
2005-09-05 17:56:11 -07:00
2005-08-29 15:50:42 -07:00
2005-09-01 17:40:05 -07:00
2005-07-07 18:23:43 -07:00
2005-06-28 21:24:32 -07:00
2005-06-28 15:25:31 -07:00
2005-07-27 16:26:20 -07:00
2005-06-28 15:25:31 -07:00