Hendrik Brueckner
c77f7cf74b
[S390] hvc_iucv: do not call iucv_unregister if iucv_register failed
...
If the iucv_register() functions fails, the error recovery calls
iucv_unregister() which might cause the following stack backtrace:
(<0000000000100ab2> show_trace+0xee/0x144)
<00000000004f1842> panic+0xb6/0x248
<00000000001010a6> die+0x15a/0x16c
<000000000011d936> do_no_context+0xa6/0xe4
<00000000004f84dc> do_protection_exception+0x2e8/0x3a4
<0000000000113afc> pgm_exit+0x0/0x14
<00000000004e786e> iucv_unregister+0x5a/0x17c
(<00000000004e785e> iucv_unregister+0x4a/0x17c)
<000000000076de74> hvc_iucv_init+0x228/0x5dc
<00000000001000c2> do_one_initcall+0x3e/0x19c
<00000000007524a2> kernel_init+0x28e/0x404
<0000000000105dd6> kernel_thread_starter+0x6/0xc
<0000000000105dd0> kernel_thread_starter+0x0/0xc
Remove the call to iucv_unregister() and remove the goto label
as unregistering is the last step in the hvc_iucv initialization.
If iucv_register() fails, simply clean up hvc terminals and free
resources.
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-10-25 16:10:17 +02:00
..
2010-10-24 13:41:39 -07:00
2010-10-15 15:53:27 +02:00
2010-10-22 19:59:04 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:20:05 -07:00
2010-10-24 13:41:39 -07:00
2010-10-05 15:01:04 +02:00
2010-03-30 22:02:32 +09:00
2010-10-15 15:53:27 +02:00
2010-10-15 15:53:27 +02:00
2010-10-15 15:53:27 +02:00
2009-01-06 15:59:30 -08:00
2008-12-13 11:25:49 -08:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:20:05 -07:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:52:56 -07:00
2009-12-16 07:19:59 -08:00
2010-08-10 13:47:40 -07:00
2008-07-20 17:12:36 -07:00
2010-10-05 15:01:04 +02:00
2010-03-30 22:02:32 +09:00
2010-10-22 10:52:56 -07:00
2010-08-21 00:34:45 -07:00
2010-09-15 21:01:40 +02:00
2010-02-25 15:38:37 -08:00
2010-08-21 00:34:45 -07:00
2010-02-24 14:22:32 +10:30
2009-01-13 14:48:01 +11:00
2010-03-08 16:55:37 +01:00
2010-10-25 16:10:17 +02:00
2010-02-24 14:22:32 +10:30
2010-07-06 13:42:15 -04:00
2010-02-24 14:22:32 +10:30
2010-02-24 14:22:32 +10:30
2010-02-24 14:22:32 +10:30
2010-03-30 22:02:32 +09:00
2010-08-21 00:34:45 -07:00
2010-10-05 15:01:04 +02:00
2010-08-10 13:47:40 -07:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:20:02 -07:00
2010-08-10 13:47:42 -07:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:20:02 -07:00
2010-10-05 15:01:04 +02:00
2010-10-22 10:52:56 -07:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:52:56 -07:00
2010-03-30 22:02:32 +09:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:20:05 -07:00
2010-08-11 08:59:20 -07:00
2010-08-10 13:47:43 -07:00
2010-10-18 11:03:14 +02:00
2010-08-10 13:47:39 -07:00
2010-10-22 10:20:05 -07:00
2010-10-05 15:01:04 +02:00
2010-10-15 15:53:27 +02:00
2010-10-05 15:01:04 +02:00
2010-10-15 15:53:27 +02:00
2010-10-05 15:01:04 +02:00
2010-05-27 22:05:02 -04:00
2010-10-22 10:19:58 -07:00
2010-05-27 09:12:50 -07:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:52:56 -07:00
2010-08-10 13:47:40 -07:00
2008-07-20 17:12:38 -07:00
2009-01-02 10:19:39 -08:00
2010-08-23 18:17:21 -07:00
2009-01-02 10:19:39 -08:00
2010-08-06 09:25:50 -06:00
2009-02-22 09:23:02 -08:00
2010-10-15 15:53:27 +02:00
2010-08-10 13:47:44 -07:00
2009-10-11 11:20:58 -07:00
2010-08-10 13:47:44 -07:00
2010-03-30 22:02:32 +09:00
2010-10-22 10:52:56 -07:00
2010-03-30 22:02:32 +09:00
2008-07-20 17:12:38 -07:00
2010-08-10 13:47:44 -07:00
2010-10-24 13:41:39 -07:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:20:05 -07:00
2010-10-22 10:20:05 -07:00
2010-10-22 10:20:05 -07:00
2010-10-15 15:53:27 +02:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:52:56 -07:00
2010-03-30 22:02:32 +09:00
2010-05-21 09:34:30 -07:00
2010-10-22 10:20:04 -07:00
2010-08-10 13:47:39 -07:00
2010-08-10 13:47:44 -07:00
2010-08-10 13:47:44 -07:00
2010-08-10 13:47:44 -07:00
2010-10-22 10:20:02 -07:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:20:06 -07:00
2010-10-22 10:52:56 -07:00
2010-10-21 17:44:04 +10:30
2010-03-30 22:02:32 +09:00
2010-08-28 21:39:09 -07:00
2010-10-22 10:20:06 -07:00