mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
crypto: hisilicon/sec - fixes some coding style
1.delete the original complex method of obtaining the current device and replace it with the initialized device pointer. 2.fixes some coding style Signed-off-by: Longfang Liu <liulongfang@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
#ifndef __HISI_SEC_V2_H
|
||||
#define __HISI_SEC_V2_H
|
||||
|
||||
#include <linux/list.h>
|
||||
|
||||
#include "../qm.h"
|
||||
#include "sec_crypto.h"
|
||||
|
||||
@@ -50,7 +48,7 @@ struct sec_req {
|
||||
|
||||
int err_type;
|
||||
int req_id;
|
||||
int flag;
|
||||
u32 flag;
|
||||
|
||||
/* Status of the SEC request */
|
||||
bool fake_busy;
|
||||
@@ -139,6 +137,7 @@ struct sec_ctx {
|
||||
bool pbuf_supported;
|
||||
struct sec_cipher_ctx c_ctx;
|
||||
struct sec_auth_ctx a_ctx;
|
||||
struct device *dev;
|
||||
};
|
||||
|
||||
enum sec_endian {
|
||||
|
||||
Reference in New Issue
Block a user