summaryrefslogtreecommitdiff
path: root/arch/x86/mm/mem_encrypt_amd.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2023-06-06 12:56:22 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2023-06-07 02:24:27 +0300
commit94142c9d1bdf1c18027a42758ceb6bdd59a92012 (patch)
tree5817991c90c6693b511b5113547b7f2e9b3132c6 /arch/x86/mm/mem_encrypt_amd.c
parent195edce08b63d293377f615f4f7f086715d2d212 (diff)
downloadlinux-94142c9d1bdf1c18027a42758ceb6bdd59a92012.tar.xz
x86/mm: Fix enc_status_change_finish_noop()
enc_status_change_finish_noop() is now defined as always-fail, which doesn't make sense for noop. The change has no user-visible effect because it is only called if the platform has CC_ATTR_MEM_ENCRYPT. All platforms with the attribute override the callback with their own implementation. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Link: https://lore.kernel.org/all/20230606095622.1939-4-kirill.shutemov%40linux.intel.com
Diffstat (limited to 'arch/x86/mm/mem_encrypt_amd.c')
0 files changed, 0 insertions, 0 deletions