]> 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)
commit15ade089b0cb13576c63b940d6f3111539f43cf0
treed7b254f811dee35e46a39cd86e16da9fd182d76d
parentc15a88f812a39802de313cca296f20ff262a7f71
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