selftests, x86, protection_keys: fix uninitialized variable warning
authorDave Hansen <dave.hansen@linux.intel.com>
Fri, 3 Feb 2017 18:51:34 +0000 (10:51 -0800)
committerShuah Khan <shuahkh@osg.samsung.com>
Wed, 8 Feb 2017 18:15:35 +0000 (11:15 -0700)
commit16846c2d96b0d7b3f7123257c4b58b06768c6d65
treee4c5bc83f4d162e3cc5c89346e2e856bb073f156
parent0a7d2cd7407da88cec68556777458a4b897d91d8
selftests, x86, protection_keys: fix uninitialized variable warning

'orig_pkru' might have been uninitialized here.  Fix it.

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/x86/protection_keys.c