Re: [PATCH 6/6] acpi: Return -ENOENT in acpi_table_parse() and fix wrong comment.

2013-08-19 Thread Tang Chen
On 08/20/2013 03:29 AM, Toshi Kani wrote: On Fri, 2013-08-16 at 15:06 +0800, Tang Chen wrote: The comment about return value of acpi_table_parse() is incorrect. This patch fix it. Furthermore, if the table is not found, return 1 means nothing, and make it difficult to write the comment. So

Re: [PATCH 6/6] acpi: Return -ENOENT in acpi_table_parse() and fix wrong comment.

2013-08-19 Thread Toshi Kani
On Fri, 2013-08-16 at 15:06 +0800, Tang Chen wrote: > The comment about return value of acpi_table_parse() is incorrect. > This patch fix it. > > Furthermore, if the table is not found, return 1 means nothing, and > make it difficult to write the comment. So return -ENOENT when the > table is not

Re: [PATCH 6/6] acpi: Return -ENOENT in acpi_table_parse() and fix wrong comment.

2013-08-19 Thread Toshi Kani
On Fri, 2013-08-16 at 15:06 +0800, Tang Chen wrote: The comment about return value of acpi_table_parse() is incorrect. This patch fix it. Furthermore, if the table is not found, return 1 means nothing, and make it difficult to write the comment. So return -ENOENT when the table is not

Re: [PATCH 6/6] acpi: Return -ENOENT in acpi_table_parse() and fix wrong comment.

2013-08-19 Thread Tang Chen
On 08/20/2013 03:29 AM, Toshi Kani wrote: On Fri, 2013-08-16 at 15:06 +0800, Tang Chen wrote: The comment about return value of acpi_table_parse() is incorrect. This patch fix it. Furthermore, if the table is not found, return 1 means nothing, and make it difficult to write the comment. So

[PATCH 6/6] acpi: Return -ENOENT in acpi_table_parse() and fix wrong comment.

2013-08-16 Thread Tang Chen
The comment about return value of acpi_table_parse() is incorrect. This patch fix it. Furthermore, if the table is not found, return 1 means nothing, and make it difficult to write the comment. So return -ENOENT when the table is not found, and correct the comment. Signed-off-by: Tang Chen ---

[PATCH 6/6] acpi: Return -ENOENT in acpi_table_parse() and fix wrong comment.

2013-08-16 Thread Tang Chen
The comment about return value of acpi_table_parse() is incorrect. This patch fix it. Furthermore, if the table is not found, return 1 means nothing, and make it difficult to write the comment. So return -ENOENT when the table is not found, and correct the comment. Signed-off-by: Tang Chen