mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
crypto: hisilicon - Add callback error check
Add error type parameter for call back checking inside. Signed-off-by: Zaibo Xu <xuzaibo@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -56,7 +56,7 @@ struct sec_req_op {
|
||||
void (*do_transfer)(struct sec_ctx *ctx, struct sec_req *req);
|
||||
int (*bd_fill)(struct sec_ctx *ctx, struct sec_req *req);
|
||||
int (*bd_send)(struct sec_ctx *ctx, struct sec_req *req);
|
||||
void (*callback)(struct sec_ctx *ctx, struct sec_req *req);
|
||||
void (*callback)(struct sec_ctx *ctx, struct sec_req *req, int err);
|
||||
int (*process)(struct sec_ctx *ctx, struct sec_req *req);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user