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)
commit7f94adf218d8810abe4d46ef97b17070ab6dff61
treed7b254f811dee35e46a39cd86e16da9fd182d76d
parent58e5b0157e58fc0e04a7fc806fed53893ddcc28b
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