Re: [PATCH v2 1/3] Sony-laptop: Fix exception handling in sony_nc_setup_rfkill()

2017-11-03 Thread Andy Shevchenko
On Wed, Nov 1, 2017 at 8:46 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 1 Nov 2017 18:42:45 +0100 > > Source code review for a specific software refactoring showed the need > for another correction because the

Re: [PATCH v2 1/3] Sony-laptop: Fix exception handling in sony_nc_setup_rfkill()

2017-11-03 Thread Andy Shevchenko
On Wed, Nov 1, 2017 at 8:46 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 1 Nov 2017 18:42:45 +0100 > > Source code review for a specific software refactoring showed the need > for another correction because the error code "-1" was returned so far > if a call of the function

[PATCH v2 1/3] Sony-laptop: Fix exception handling in sony_nc_setup_rfkill()

2017-11-01 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 1 Nov 2017 18:42:45 +0100 Source code review for a specific software refactoring showed the need for another correction because the error code "-1" was returned so far if a call of the function "sony_call_snc_handle" failed here.

[PATCH v2 1/3] Sony-laptop: Fix exception handling in sony_nc_setup_rfkill()

2017-11-01 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 1 Nov 2017 18:42:45 +0100 Source code review for a specific software refactoring showed the need for another correction because the error code "-1" was returned so far if a call of the function "sony_call_snc_handle" failed here. Thus assign the return value from