Re: ACPI fan driver: uninitialized variable when CONFIG_PM is not set

2013-05-16 Thread Rafael J. Wysocki
On Thursday, May 16, 2013 12:56:37 AM Michel Lespinasse wrote: > On Wed, May 15, 2013 at 6:07 PM, Zhang Rui wrote: > > Hi, Michel, > > > > thanks for your report. > > please check if the following patch helps or not. > > https://patchwork.kernel.org/patch/2574691/ > > Yes, this solves the issue.

Re: ACPI fan driver: uninitialized variable when CONFIG_PM is not set

2013-05-16 Thread Michel Lespinasse
On Wed, May 15, 2013 at 6:07 PM, Zhang Rui wrote: > Hi, Michel, > > thanks for your report. > please check if the following patch helps or not. > https://patchwork.kernel.org/patch/2574691/ Yes, this solves the issue. Is there a chance that this will make it into 3.10 ? Thanks, -- Michel

Re: ACPI fan driver: uninitialized variable when CONFIG_PM is not set

2013-05-16 Thread Michel Lespinasse
On Wed, May 15, 2013 at 6:07 PM, Zhang Rui rui.zh...@intel.com wrote: Hi, Michel, thanks for your report. please check if the following patch helps or not. https://patchwork.kernel.org/patch/2574691/ Yes, this solves the issue. Is there a chance that this will make it into 3.10 ? Thanks,

Re: ACPI fan driver: uninitialized variable when CONFIG_PM is not set

2013-05-16 Thread Rafael J. Wysocki
On Thursday, May 16, 2013 12:56:37 AM Michel Lespinasse wrote: On Wed, May 15, 2013 at 6:07 PM, Zhang Rui rui.zh...@intel.com wrote: Hi, Michel, thanks for your report. please check if the following patch helps or not. https://patchwork.kernel.org/patch/2574691/ Yes, this solves the

Re: ACPI fan driver: uninitialized variable when CONFIG_PM is not set

2013-05-15 Thread Zhang Rui
Hi, Michel, On Mon, 2013-04-29 at 05:32 -0700, Michel Lespinasse wrote: > In the following code: > > static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned > long > *state) > { > struct acpi_device *device = cdev->devdata; > int

Re: ACPI fan driver: uninitialized variable when CONFIG_PM is not set

2013-05-15 Thread Zhang Rui
Hi, Michel, On Mon, 2013-04-29 at 05:32 -0700, Michel Lespinasse wrote: In the following code: static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) { struct acpi_device *device = cdev-devdata; int result;

ACPI fan driver: uninitialized variable when CONFIG_PM is not set

2013-04-29 Thread Michel Lespinasse
In the following code: static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) { struct acpi_device *device = cdev->devdata; int result; int acpi_state; if (!device) return -EINVAL;

ACPI fan driver: uninitialized variable when CONFIG_PM is not set

2013-04-29 Thread Michel Lespinasse
In the following code: static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) { struct acpi_device *device = cdev-devdata; int result; int acpi_state; if (!device) return -EINVAL;