]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kho: warn if KHO is disabled due to an error
authorPasha Tatashin <pasha.tatashin@soleen.com>
Fri, 8 Aug 2025 20:18:04 +0000 (20:18 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 19 Aug 2025 23:35:53 +0000 (16:35 -0700)
commit44958f2025ed3f29fc3e93bb1f6c16121d7847ad
treead6bb84694827a3e602d99e91bc177fc096d015f
parent8b66ed2c3f42cc462e05704af6b94e6a7bad2f5e
kho: warn if KHO is disabled due to an error

During boot scratch area is allocated based on command line parameters or
auto calculated.  However, scratch area may fail to allocate, and in that
case KHO is disabled.  Currently, no warning is printed that KHO is
disabled, which makes it confusing for the end user to figure out why KHO
is not available.  Add the missing warning message.

Link: https://lkml.kernel.org/r/20250808201804.772010-4-pasha.tatashin@soleen.com
Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Acked-by: Pratyush Yadav <pratyush@kernel.org>
Cc: Alexander Graf <graf@amazon.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Baoquan He <bhe@redhat.com>
Cc: Changyuan Lyu <changyuanl@google.com>
Cc: Coiby Xu <coxu@redhat.com>
Cc: Dave Vasilevsky <dave@vasilevsky.ca>
Cc: Eric Biggers <ebiggers@google.com>
Cc: Kees Cook <kees@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/kexec_handover.c