acpi: Fix and cleanup in acpi.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 5 repliesIn review
- v16 patches 8 repliesSuperseded
Changes in v2 from the cover letter
1. Use pr_fmt() to simply the SRAT message.
Suggested by Joe Perches <[email protected]>
2. Improve the log in patch 4, and change the return value of the stub of acpi_table_parse() in linux/acpi.h
Suggested by Toshi Kani <[email protected]>
3. Merge the two pr_{info|err} patches into one.
4. Remove on of the patch that has been merged by Rafael.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | acpi, numa, mem_hotplug: Kill save_add_info().arch/ | +0 | 0 replies | |
| 2/4 | acpi cleanup: Use pr_{info|err}() instead of printk() in arch/x86/mm/srat.carch/ | +17 | 1 reply | |
| 3/4 | acpi: Check if @id is NULL in acpi_table_parse()drivers/ | +1 | 0 replies | |
| 4/4 | acpi: Return -ENOENT in acpi_table_parse() and fix wrong comment.drivers/ include/ | +5 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Toshi Kani |
|---|---|
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] acpi: Fix and cleanup in acpi.
This patch-set fix the following problems:
1. Kill useless function save_add_info() which will block us from using numa when MEMORY_HOTPLUG is not configured.
2. acpi_table_parse() didn't check if @id is NULL.
3. Fix incorrect comment in acpi_table_parse(), and return -ENOENT if a table is not found.
And also did some cleanup.
change log v1 -> v2:
1. Use pr_fmt() to simply the SRAT message.
Suggested by Joe Perches <[email protected]>
2. Improve the log in patch 4, and change the return value of the stub of acpi_table_parse() in linux/acpi.h
Suggested by Toshi Kani <[email protected]>
3. Merge the two pr_{info|err} patches into one.
4. Remove on of the patch that has been merged by Rafael.
Tang Chen (4):
acpi, numa, mem_hotplug: Kill save_add_info(). acpi cleanup: Use pr_{info|err}() instead of printk() in
arch/x86/mm/srat.c
acpi: Check if @id is NULL in acpi_table_parse()
acpi: Return -ENOENT in acpi_table_parse() and fix wrong comment.
arch/x86/mm/srat.c | 40 +++++++++++++++++----------------------- drivers/acpi/tables.c | 9 +++++---- include/linux/acpi.h | 2 +- 3 files changed, 23 insertions(+), 28 deletions(-)