Re: [PATCH] iio: inv_mpu6050: Fix use-after-free in ACPI code

2016-06-11 Thread Jonathan Cameron
On 06/06/16 13:33, Daniel Baluta wrote: > On Fri, Jun 3, 2016 at 9:30 PM, Crestez Dan Leonard > wrote: >> In some cases this can result in incorrectly returning a negative value >> from asus_acpi_get_sensor_info and the AK8963 magnetometer failing to >> show up. >> >> Cc: Srinivas Pandruvada >> S

Re: [PATCH] iio: inv_mpu6050: Fix use-after-free in ACPI code

2016-06-06 Thread Daniel Baluta
On Fri, Jun 3, 2016 at 9:30 PM, Crestez Dan Leonard wrote: > In some cases this can result in incorrectly returning a negative value > from asus_acpi_get_sensor_info and the AK8963 magnetometer failing to > show up. > > Cc: Srinivas Pandruvada > Signed-off-by: Crestez Dan Leonard Looks good to

[PATCH] iio: inv_mpu6050: Fix use-after-free in ACPI code

2016-06-03 Thread Crestez Dan Leonard
In some cases this can result in incorrectly returning a negative value from asus_acpi_get_sensor_info and the AK8963 magnetometer failing to show up. Cc: Srinivas Pandruvada Signed-off-by: Crestez Dan Leonard --- drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c | 5 +++-- 1 file changed, 3 insertion