Re: [PATCH v2] acpi_system_write_wakeup_device(): fix error check for unsigned variable.

2012-11-22 Thread Rafael J. Wysocki
On Thursday, November 22, 2012 01:34:55 AM Cyril Roelandt wrote: > The LEN variable is unsigned, therefore checking whether it is less than 0 is > useless. Also drop the LEN variable, since the COUNT parameter can be used > instead. Applied (under a different subject). Thanks, Rafael >

[PATCH v2] acpi_system_write_wakeup_device(): fix error check for unsigned variable.

2012-11-22 Thread Cyril Roelandt
The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Also drop the LEN variable, since the COUNT parameter can be used instead. Signed-off-by: Cyril Roelandt --- drivers/acpi/proc.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git

[PATCH v2] acpi_system_write_wakeup_device(): fix error check for unsigned variable.

2012-11-22 Thread Cyril Roelandt
The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Also drop the LEN variable, since the COUNT parameter can be used instead. Signed-off-by: Cyril Roelandt tipec...@gmail.com --- drivers/acpi/proc.c | 11 --- 1 file changed, 4 insertions(+), 7

Re: [PATCH v2] acpi_system_write_wakeup_device(): fix error check for unsigned variable.

2012-11-22 Thread Rafael J. Wysocki
On Thursday, November 22, 2012 01:34:55 AM Cyril Roelandt wrote: The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Also drop the LEN variable, since the COUNT parameter can be used instead. Applied (under a different subject). Thanks, Rafael