2021-06-28 03:33:37

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: qat: ratelimit invalid ioctl message and print the invalid cmd

On Tue, Jun 22, 2021 at 04:16:08PM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> 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: Colin Ian King <[email protected]>
> ---
> drivers/crypto/qat/qat_common/adf_ctl_drv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt