s390/pkey: pkey cleanup: narrow in-kernel API, fix some variable types
authorHarald Freudenberger <freude@linux.ibm.com>
Wed, 3 Jul 2019 11:09:03 +0000 (13:09 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 21 Aug 2019 10:58:53 +0000 (12:58 +0200)
commit183cb46954dd204e3578a25ad1284aab3debec52
tree7aa7ee6f19b111370bf41824405529119a06ff42
parent22a33c7e4ed6aae8c47de72461162021dad87473
s390/pkey: pkey cleanup: narrow in-kernel API, fix some variable types

There are a lot of pkey functions exported as in-kernel callable
API functions but not used at all. This patch narrows down the
pkey in-kernel API to what is currently only used and exploited.

Within the kernel just use u32 without any leading __u32. Also
functions declared in a header file in arch/s390/include/asm
don't need a comment 'In-kernel API', this is by definition,
otherwise the header file would be in arch/s390/include/uapi/asm.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/pkey.h
drivers/s390/crypto/pkey_api.c