]> git.ipfire.org Git - thirdparty/linux.git/commit
acpi/hmat: Return when generic target is updated
authorDave Jiang <dave.jiang@intel.com>
Wed, 5 Nov 2025 23:51:14 +0000 (16:51 -0700)
committerDave Jiang <dave.jiang@intel.com>
Wed, 12 Nov 2025 21:15:33 +0000 (14:15 -0700)
commit15e14267889bde30b7b82bc03432483222b4b42c
tree3db3a793a760e9381163752c95c037c2b787aa94
parent2230c4bdc4120417799c74326ade3123da226d54
acpi/hmat: Return when generic target is updated

With the current code flow, once the generic target is updated
target->registered is set and the remaining code is skipped.
So return immediately instead of going through the checks and
then skip.

Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20251105235115.85062-2-dave.jiang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/acpi/numa/hmat.c