]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/pkey: Fix checkpatch findings in pkey header file
authorHarald Freudenberger <freude@linux.ibm.com>
Fri, 25 Oct 2024 10:34:30 +0000 (12:34 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 29 Oct 2024 10:17:17 +0000 (11:17 +0100)
commit1bcf8d9a0c3d8b0c706f52c1cb0d523da7dd6361
treecfefe4ae0df4ea6be87fd36f8bb8d69723ba4f9c
parentb2402a67246f83cdd1f807c8a54b341936b8ce0b
s390/pkey: Fix checkpatch findings in pkey header file

Fix all the complains from checkpatch for the pkey header file:

CHECK: No space is necessary after a cast
+       PKEY_TYPE_CCA_DATA   = (__u32) 1,

CHECK: Please use a blank line after function/struct/union/enum declarations
+};
+#define PKEY_GENSECK _IOWR(PKEY_IOCTL_MAGIC, 0x01, struct pkey_genseck)

Suggested-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/uapi/asm/pkey.h