]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90d85e587cb21643e1d705f3f9743913500c2f85
tree7aa7ee6f19b111370bf41824405529119a06ff42
parentbc9f9eba0ff9e2b75898b5000661ae6498c11ca2
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