Skip to content
Commit cd5c91fe authored by Colin Ian King's avatar Colin Ian King Committed by Herbert Xu
Browse files

crypto: qat - ratelimit invalid ioctl message and print the invalid cmd



Currently incorrect QAT ioctls can spam the kernel log with error messages
of the form "QAT: Invalid ioctl" if a userspace program uses the wrong
ioctl command. Quench the messages by ratelimiting them and also print
the invalid command being used as that is useful to know.

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9f38b678
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment