Skip to content

ACPI: scan: A few ad-hoc cleanups

Andy Shevchenko acpica-devel linux-acpi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ACPI: bus: Make container_of() no-op where it makes senseinclude/acpi/acpi_bus.h+5 -50 replies
2/7ACPI: bus: Don't use "proxy" headersinclude/acpi/acpi_bus.h+5 -00 replies
3/7ACPI: scan: Replace infinite for-loop with finite while-loopdrivers/acpi/scan.c+6 -82 replies
4/7ACPI: scan: Use list_first_entry_or_null() in acpi_device_hid()drivers/acpi/scan.c+2 -20 replies
5/7ACPI: scan: Move misleading comment to acpi_dma_configure_id()drivers/acpi/scan.c+5 -50 replies
6/7ACPI: scan: Use standard error checking patterndrivers/acpi/scan.c+5 -40 replies
7/7ACPI: scan: Introduce typedef:s for struct acpi_hotplug_context membersdrivers/acpi/dock.c drivers/acpi/scan.c include/acpi/acpi_bus.h+27 -390 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKuppuswamy Sathyanarayanan
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/7] ACPI: scan: A few ad-hoc cleanups

While looking for something else in the scan.c I noticed the room of improvement. Hence this series. Also bus.c patches, which some how were related to my research, but I think are independent from the scan.c improvements.

Andy Shevchenko (7):
ACPI: bus: Make container_of() no-op where it makes sense
ACPI: bus: Don't use "proxy" headers
ACPI: scan: Replace infinite for-loop with finite while-loop
ACPI: scan: Use list_first_entry_or_null() in acpi_device_hid()
ACPI: scan: Move misleading comment to acpi_dma_configure_id()
ACPI: scan: Use standard error checking pattern
ACPI: scan: Introduce typedef:s for struct acpi_hotplug_context
members

 drivers/acpi/dock.c     | 48 +++++++++++++++--------------------------
 drivers/acpi/scan.c     | 42 +++++++++++++++++-------------------
 include/acpi/acpi_bus.h | 28 +++++++++++++++---------
 3 files changed, 55 insertions(+), 63 deletions(-)
Signature · 1 line
2.43.0.rc1.1.gbec44491f096