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

2012-11-22 Thread Cyril Roelandt
On 11/21/2012 01:44 AM, Rafael J. Wysocki wrote: On Saturday, November 17, 2012 02:54:23 AM Cyril Roelandt wrote: The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Signed-off-by: Cyril Roelandt --- drivers/acpi/proc.c |2 -- 1 file changed, 2

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

2012-11-22 Thread Rafael J. Wysocki
On Thursday, November 22, 2012 01:05:30 AM Cyril Roelandt wrote: > On 11/21/2012 01:44 AM, Rafael J. Wysocki wrote: > > On Saturday, November 17, 2012 02:54:23 AM Cyril Roelandt wrote: > >> The LEN variable is unsigned, therefore checking whether it is less than 0 > >> is > >> useless. > >> > >>

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

2012-11-22 Thread Cyril Roelandt
On 11/22/2012 01:23 AM, Rafael J. Wysocki wrote: On Thursday, November 22, 2012 01:05:30 AM Cyril Roelandt wrote: On 11/21/2012 01:44 AM, Rafael J. Wysocki wrote: On Saturday, November 17, 2012 02:54:23 AM Cyril Roelandt wrote: The LEN variable is unsigned, therefore checking whether it is

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

2012-11-22 Thread Cyril Roelandt
On 11/22/2012 01:23 AM, Rafael J. Wysocki wrote: On Thursday, November 22, 2012 01:05:30 AM Cyril Roelandt wrote: On 11/21/2012 01:44 AM, Rafael J. Wysocki wrote: On Saturday, November 17, 2012 02:54:23 AM Cyril Roelandt wrote: The LEN variable is unsigned, therefore checking whether it is

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

2012-11-22 Thread Rafael J. Wysocki
On Thursday, November 22, 2012 01:05:30 AM Cyril Roelandt wrote: On 11/21/2012 01:44 AM, Rafael J. Wysocki wrote: On Saturday, November 17, 2012 02:54:23 AM Cyril Roelandt wrote: The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Signed-off-by:

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

2012-11-22 Thread Cyril Roelandt
On 11/21/2012 01:44 AM, Rafael J. Wysocki wrote: On Saturday, November 17, 2012 02:54:23 AM Cyril Roelandt wrote: The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Signed-off-by: Cyril Roelandttipec...@gmail.com --- drivers/acpi/proc.c |2 -- 1 file

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

2012-11-20 Thread Rafael J. Wysocki
On Saturday, November 17, 2012 02:54:23 AM Cyril Roelandt wrote: > The LEN variable is unsigned, therefore checking whether it is less than 0 is > useless. > > Signed-off-by: Cyril Roelandt > --- > drivers/acpi/proc.c |2 -- > 1 file changed, 2 deletions(-) > > diff --git

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

2012-11-20 Thread Rafael J. Wysocki
On Saturday, November 17, 2012 02:54:23 AM Cyril Roelandt wrote: The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Signed-off-by: Cyril Roelandt tipec...@gmail.com --- drivers/acpi/proc.c |2 -- 1 file changed, 2 deletions(-) diff --git

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

2012-11-16 Thread Cyril Roelandt
The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Signed-off-by: Cyril Roelandt --- drivers/acpi/proc.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/acpi/proc.c b/drivers/acpi/proc.c index 27adb09..37871a7 100644 --- a/drivers/acpi/proc.c

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

2012-11-16 Thread Cyril Roelandt
The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Signed-off-by: Cyril Roelandt tipec...@gmail.com --- drivers/acpi/proc.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/acpi/proc.c b/drivers/acpi/proc.c index 27adb09..37871a7 100644 ---