]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon - allow smaller reads in debugfs
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 2 Jun 2020 13:54:09 +0000 (16:54 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jun 2020 07:19:45 +0000 (17:19 +1000)
commit47d179e3c213eface398b54fa305ae85b72473f9
treed7b254f811dee35e46a39cd86e16da9fd182d76d
parentbced4590e72973c0226cbd9401eff88f0eaa9c50
crypto: hisilicon - allow smaller reads in debugfs

Originally this code rejected any read less than 256 bytes.  There
is no need for this artificial limit.  We should just use the normal
helper functions to read a string from the kernel.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c