On Fri, Aug 16, 2019 at 04:17:05PM +0300, Andy Shevchenko wrote: > check_acpi_smo88xx_device() utilizes acpi_get_object_info() which in its turn > allocates a buffer. User is responsible to clean allocated resources. The last > has been missed in the original code. Fix it here. > > While here, replace !ACPI_SUCCESS() with ACPI_FAILURE(). > > Fixes: 19b07cb4a187 ("i2c: i801: Register optional lis3lv02d I2C device on Dell machines") > Cc: Pali Rohár <pali.rohar@xxxxxxxxx> > Cc: Jean Delvare <jdelvare@xxxxxxx> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Applied to for-current, thanks!
Attachment:
signature.asc
Description: PGP signature