[PATCH -next v2 0/5] Optimize and bugfix for notifier error

From: Zhao Gongyi
Date: Thu Sep 15 2022 - 05:02:02 EST


1. Fix non-working usage of negative values
2. Add checking after online or offline
3. Restore memory before exit
4. Correct test's name

Changes in v2:
- Replace 'online_all_hot_pluggable_memory'
with 'online_all_offline_memory()'.
- Collect Reviewed-by tags from David Hildenbrand.


Zhao Gongyi (5):
docs: notifier-error-inject: fix non-working usage of negative values
selftests/memory-hotplug: Use 'printf' instead of 'echo'
selftests/memory-hotplug: Add checking after online or offline
selftests/memory-hotplug: Restore memory before exit
docs: notifier-error-inject: Correct test's name

.../fault-injection/notifier-error-inject.rst | 14 ++++---
.../memory-hotplug/mem-on-off-test.sh | 37 +++++++++++++++----
2 files changed, 39 insertions(+), 12 deletions(-)

--
2.17.1