Re: [PATCH 2/6] chcr: Remove malloc/free

2016-10-26 Thread Harsh Jain
On 21-10-2016 07:50, Herbert Xu wrote: > On Thu, Oct 13, 2016 at 04:39:35PM +0530, Harsh Jain wrote: >> Remove malloc/free in crypto operation and allocate memory via cra_ctxsize. >> Added new structure chcr_wr to populate Work Request Header. >> Fixes: 324429d74127 (chcr: Support for Chelsio's

Re: [PATCH 2/6] chcr: Remove malloc/free

2016-10-20 Thread Herbert Xu
On Thu, Oct 13, 2016 at 04:39:35PM +0530, Harsh Jain wrote: > Remove malloc/free in crypto operation and allocate memory via cra_ctxsize. > Added new structure chcr_wr to populate Work Request Header. > Fixes: 324429d74127 (chcr: Support for Chelsio's Crypto Hardware) Do you mean the reqsize as

[PATCH 2/6] chcr: Remove malloc/free

2016-10-13 Thread Harsh Jain
Remove malloc/free in crypto operation and allocate memory via cra_ctxsize. Added new structure chcr_wr to populate Work Request Header. Fixes: 324429d74127 (chcr: Support for Chelsio's Crypto Hardware) Reported-by: Dan Carpenter Signed-off-by: Jitendra Lulla