Re: [PATCH v2 2/2] asus-laptop: correct error handling in sysfs_acpi_set

From: Giedrius StatkeviÄius
Date: Thu Apr 21 2016 - 02:36:10 EST


On Wed, Apr 20, 2016 at 01:19:55PM -0700, Darren Hart wrote:
> On Sat, Apr 16, 2016 at 03:01:57AM +0300, Giedrius StatkeviÄius wrote:
> > Properly return rv back to the caller in the case of an error in
> > parse_arg. In the process remove a unused variable 'out'.
>
> The initial problem if I recall was value being uninitialized. Is that correct?
No, 'out' was just removed as it was unused. Then you caught the issue with
error handling in this function so I've updated this patch to fix that as well.