Patch 1 is an obvious cleanup found while fixing this problem.
Patch 2 Fixes a bug with initiator registration for single-initiator systems. More details on this in its commit message.
Rafael - I didn't retain your ack for patch 2 since it seemed like a nontrivial change.
Cc: Rafael J. Wysocki rafael@kernel.org Cc: Liu Shixin liushixin2@huawei.com Cc: Dan Williams dan.j.williams@intel.com Cc: linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org Cc: Chris Piper chris.d.piper@intel.com Cc: Kirill A. Shutemov kirill.shutemov@linux.intel.com Signed-off-by: Vishal Verma vishal.l.verma@intel.com
--- Changes in v2: - Collect Acks for patch 1. - Separate out the bitmask generation from the comparision helper to make it more explicit and easier to follow (Kirill) - Link to v1: https://lore.kernel.org/r/20221116075736.1909690-1-vishal.l.verma@intel.com
--- Vishal Verma (2): ACPI: HMAT: remove unnecessary variable initialization ACPI: HMAT: Fix initiator registration for single-initiator systems
drivers/acpi/numa/hmat.c | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) --- base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780 change-id: 20221116-acpi_hmat_fix-7acf4bca37c0
Best regards,