summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2017-12-04 20:13:35 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-05 15:44:25 +0100
commit500943e57db8d3e298e98f595f835c5b613e843b (patch)
tree7a688134a2fd9d5a391938c21c7ef23380b95c14 /arch/x86/kernel/cpu/common.c
parentd41f46f778951b0ea851ca52b88b2549c6336b47 (diff)
kaiser: fix unlikely error in alloc_ldt_struct()
An error from kaiser_add_mapping() here is not at all likely, but Eric Biggers rightly points out that __free_ldt_struct() relies on new_ldt->size being initialized: move that up. Signed-off-by: Hugh Dickins <hughd@google.com> Acked-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
0 files changed, 0 insertions, 0 deletions