Messages in this thread | | | Date | Mon, 28 Jun 2021 11:31:14 +0800 | From | Herbert Xu <> | 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 <colin.king@canonical.com> > > 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 <colin.king@canonical.com> > --- > drivers/crypto/qat/qat_common/adf_ctl_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |