]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
test_kho: always print restore status
authorPratyush Yadav <pratyush@kernel.org>
Tue, 18 Nov 2025 18:10:45 +0000 (19:10 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 27 Nov 2025 22:24:42 +0000 (14:24 -0800)
commit11047466eff28cb3d3422622166931204ed7d502
tree6869680b3f885aa519d105df8e654e960c4f9629
parentb15515155af735a86e5bcd67ed739162f0de27f5
test_kho: always print restore status

Currently the KHO test only prints a message on success, and remains
silent on failure.  This makes it difficult to notice a failing test.  A
failing test is usually more interesting than a successful one.

Always print the test status after attempting restore.

Link: https://lkml.kernel.org/r/20251118181046.23321-1-pratyush@kernel.org
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Acked-by: SeongJae Park <sj@kerneel.org>
Cc: Alexander Graf <graf@amazon.com>
Cc: Pratyush Yadav <pratyush@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/test_kho.c