diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2023-10-19 21:01:21 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-10-22 12:47:43 +0200 |
commit | 9b311b7313d6c104dd4a2d43ab54536dce07f960 (patch) | |
tree | 901f6836ea098d54f8282c905248d7c83a3ddaff /tools/testing/selftests/bpf/prog_tests/recursion.c | |
parent | f20f29cbcb438ca37962d22735f74a143cbeb28c (diff) |
ACPI: NFIT: Install Notify() handler before getting NFIT table
If there is no NFIT at startup, it will return 0 immediately in function
acpi_nfit_add() and will not install Notify() handler. If hotplugging
a nvdimm device later, it will not be identified as there is no Notify()
handler.
Install the handler before getting NFI table in function acpi_nfit_add()
to avoid above issue.
Fixes: dcca12ab62a2 ("ACPI: NFIT: Install Notify() handler directly")
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions