Re: [PATCH v2] tty: mxser: improve error handling in mxser_probe() and mxser_module_init()

2013-03-28 Thread Jiri Slaby
Hi, back from Rome, I suppose ;). On 02/19/2013 06:57 AM, Alexey Khoroshilov wrote: > 1. Currently mxser_probe() and mxser_module_init() ignore errors > that can happen in tty_port_register_device(). > 2. mxser_module_init() does not deallocate resources allocated in > mxser_get_ISA_conf() > if

Re: [PATCH v2] tty: mxser: improve error handling in mxser_probe() and mxser_module_init()

2013-03-28 Thread Jiri Slaby
Hi, back from Rome, I suppose ;). On 02/19/2013 06:57 AM, Alexey Khoroshilov wrote: 1. Currently mxser_probe() and mxser_module_init() ignore errors that can happen in tty_port_register_device(). 2. mxser_module_init() does not deallocate resources allocated in mxser_get_ISA_conf() if

Re: [PATCH v2] tty: mxser: improve error handling in mxser_probe() and mxser_module_init()

2013-02-19 Thread Jiri Slaby
On 02/19/2013 06:57 AM, Alexey Khoroshilov wrote: > 1. Currently mxser_probe() and mxser_module_init() ignore errors > that can happen in tty_port_register_device(). > 2. mxser_module_init() does not deallocate resources allocated in > mxser_get_ISA_conf() > if mxser_initbrd() failed. > > The

Re: [PATCH v2] tty: mxser: improve error handling in mxser_probe() and mxser_module_init()

2013-02-19 Thread Jiri Slaby
On 02/19/2013 06:57 AM, Alexey Khoroshilov wrote: 1. Currently mxser_probe() and mxser_module_init() ignore errors that can happen in tty_port_register_device(). 2. mxser_module_init() does not deallocate resources allocated in mxser_get_ISA_conf() if mxser_initbrd() failed. The patch

[PATCH v2] tty: mxser: improve error handling in mxser_probe() and mxser_module_init()

2013-02-18 Thread Alexey Khoroshilov
1. Currently mxser_probe() and mxser_module_init() ignore errors that can happen in tty_port_register_device(). 2. mxser_module_init() does not deallocate resources allocated in mxser_get_ISA_conf() if mxser_initbrd() failed. The patch adds proper error handling in all the cases. Also it moves

[PATCH v2] tty: mxser: improve error handling in mxser_probe() and mxser_module_init()

2013-02-18 Thread Alexey Khoroshilov
1. Currently mxser_probe() and mxser_module_init() ignore errors that can happen in tty_port_register_device(). 2. mxser_module_init() does not deallocate resources allocated in mxser_get_ISA_conf() if mxser_initbrd() failed. The patch adds proper error handling in all the cases. Also it moves