mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Fix sparse, gcc 10, and -Wpedantic warnings
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
301eece09b
commit
041e3ad996
@@ -1392,7 +1392,7 @@ int generate_key_verification_pattern(const u8 *key, size_t key_size,
|
||||
goto out;
|
||||
}
|
||||
|
||||
opfd = accept(tfmfd, NULL, 0);
|
||||
opfd = accept(tfmfd, NULL, NULL);
|
||||
if (opfd < 0) {
|
||||
rc = -errno;
|
||||
pr_verbose(verbose, "Failed to accept on the AF_ALG socket");
|
||||
@@ -1923,8 +1923,8 @@ static int reencipher_ep11_secure_key(struct ep11_lib *ep11, u8 *secure_key,
|
||||
u8 *mkvp, bool *apqn_selected,
|
||||
bool verbose)
|
||||
{
|
||||
unsigned int card, domain;
|
||||
unsigned int flags;
|
||||
int card, domain;
|
||||
target_t target;
|
||||
int rc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user