Re: [PATCH 1/9] crypto: hisilicon - fix debugfs usage of SEC V2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


On 2020/1/10 16:50, Herbert Xu wrote:
On Fri, Jan 10, 2020 at 03:49:50PM +0800, Zaibo Xu wrote:
Applied some advices of Marco Elver on atomic usage of Debugfs.

Reported-by: Marco Elver <elver@xxxxxxxxxx>
Signed-off-by: Zaibo Xu <xuzaibo@xxxxxxxxxx>
---
  drivers/crypto/hisilicon/sec2/sec.h        |  6 +++---
  drivers/crypto/hisilicon/sec2/sec_crypto.c | 10 +++++-----
  drivers/crypto/hisilicon/sec2/sec_main.c   | 14 ++++++++++++--
  3 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/drivers/crypto/hisilicon/sec2/sec.h b/drivers/crypto/hisilicon/sec2/sec.h
index 26754d0..841f4c5 100644
--- a/drivers/crypto/hisilicon/sec2/sec.h
+++ b/drivers/crypto/hisilicon/sec2/sec.h
@@ -40,7 +40,7 @@ struct sec_req {
  	int req_id;
/* Status of the SEC request */
-	int fake_busy;
+	bool fake_busy;
I have already applied Arnd's patch and it's in the crypto tree.
Please rebase yours on top of his patch.

Okay, I will rebase.

Cheers,
Zaibo

.





[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux