diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-07-23 17:06:15 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-07-23 17:06:15 +0200 |
commit | 0b8a53a8444c267114f6b5a85d21153ddea190eb (patch) | |
tree | 760576b9b9f0b1b335fd4102b027a7bed6e8e3c4 /include | |
parent | d2cbbf1fe503c07e466c62f83aa1926d74d15821 (diff) | |
parent | 71f6428332844f38c7cb10461d9f29e9c9b983a0 (diff) | |
download | lwn-0b8a53a8444c267114f6b5a85d21153ddea190eb.tar.gz lwn-0b8a53a8444c267114f6b5a85d21153ddea190eb.zip |
Merge branch 'acpi-utils'
* acpi-utils:
ACPI: utils: Fix reference counting in for_each_acpi_dev_match()
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/acpi_bus.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 1ae993fee4a5..b9d434a93632 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -707,11 +707,6 @@ acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv); * @hrv: Hardware Revision of the device, pass -1 to not check _HRV * * The caller is responsible for invoking acpi_dev_put() on the returned device. - * - * FIXME: Due to above requirement there is a window that may invalidate @adev - * and next iteration will use a dangling pointer, e.g. in the case of a - * hotplug event. That said, the caller should ensure that this will never - * happen. */ #define for_each_acpi_dev_match(adev, hid, uid, hrv) \ for (adev = acpi_dev_get_first_match_dev(hid, uid, hrv); \ |