Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reported by sparse: examples/cryptosk.c: In function ‘test_skcipher_encrypt’: examples/cryptosk.c:121:35: error: passing argument 3 of ‘skcipher_request_set_callback’ from incompatible pointer type [-Werror=incompatible-pointer-types] 121 | test_skcipher_callback, &sk->result); | ^~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(struct crypto_async_request *, int) In file included from ./include/crypto/internal/skcipher.h:13, from examples/cryptosk.c:4: ./include/crypto/skcipher.h:576:70: note: expected ‘crypto_completion_t’ {aka ‘void (*)(void *, int)’} but argument is of type ‘void (*)(struct crypto_async_request *, int)’ 576 | crypto_completion_t compl, | ~~~~~~~~~~~~~~~~~~~~^~~~~ cc1: some warnings being treated as errors
- Loading branch information