crypto: hisilicon - Update debugfs usage of SEC V2

Applied some advices of Marco Elver on atomic usage of Debugfs,
which is carried out by basing on Arnd Bergmann's fixing patch.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Marco Elver <elver@google.com>
Signed-off-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Zaibo Xu
2020-01-11 10:41:48 +08:00
committed by Herbert Xu
parent 279c075dc1
commit ca0d158dc9
3 changed files with 14 additions and 14 deletions

View File

@@ -40,7 +40,7 @@ struct sec_req {
int req_id;
/* Status of the SEC request */
atomic_t fake_busy;
bool fake_busy;
};
/**