From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756605AbbCCNkN (ORCPT ); Tue, 3 Mar 2015 08:40:13 -0500 Received: from mail-bl2on0134.outbound.protection.outlook.com ([65.55.169.134]:46731 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755699AbbCCNkI (ORCPT ); Tue, 3 Mar 2015 08:40:08 -0500 Message-ID: <54F5B9A5.5080300@freescale.com> Date: Tue, 3 Mar 2015 15:39:49 +0200 From: =?UTF-8?B?SG9yaWEgR2VhbnTEgw==?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: , , CC: , , , , , , Subject: Re: [PATCH 0/3] fix some CAAM warnings. References: <1425365453-19358-1-git-send-email-yanjiang.jin@windriver.com> In-Reply-To: <1425365453-19358-1-git-send-email-yanjiang.jin@windriver.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=horia.geanta@freescale.com; windriver.com; dkim=none (message not signed) header.d=none; X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(479174004)(51704005)(24454002)(377454003)(41574002)(106466001)(46102003)(83506001)(87936001)(85426001)(6806004)(19580405001)(19580395003)(85182001)(105606002)(33656002)(65806001)(65956001)(120886001)(50986999)(47776003)(65816999)(87266999)(76176999)(54356999)(64126003)(5820100001)(86362001)(50466002)(2950100001)(92566002)(77096005)(36756003)(62966003)(2201001)(77156002)(104016003)(23676002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR03MB393;H:az84smr01.freescale.net;FPR:;SPF:Fail;MLV:sfv;LANG:en; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB393; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006);SRVR:BY2PR03MB393; X-Forefront-PRVS: 0504F29D72 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB393; X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2015 13:40:02.7177 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.158.2] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB393 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/3/2015 8:50 AM, yanjiang.jin@windriver.com wrote: > From: Yanjiang Jin > > Hi, > > This patch series fix some CAAM compile and runtime warnings. > The patches 0001 and 0002 are same as V1. > > I have tested this on fsl-p5020ds board using upstream 4.0.0-rc1+ with the below configs: > > CONFIG_DMA_API_DEBUG=y > # CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set > > Change log: > v2: > > Abandon the v1 patch 0003-crypto-caamhash-add-two-missed-dma_mapping_error.patch. > Replace the v1 patch 0004-crypto-caamhash-replace-kmalloc-with-kzalloc.patch with the new > patch 0003-crypto-caamhash-fix-uninitialized-edesc-sec4_sg_byte.patch. > > Yanjiang Jin (3): > crypto: caam: fix some compile warnings > crypto: caam_rng: fix rng_unmap_ctx's DMA_UNMAP size problem > crypto: caamhash: - fix uninitialized edesc->sec4_sg_bytes field > > drivers/crypto/caam/caamhash.c | 1 + > drivers/crypto/caam/caamrng.c | 4 ++-- > drivers/crypto/caam/sg_sw_sec4.h | 8 ++++---- > 3 files changed, 7 insertions(+), 6 deletions(-) > For the series Reviewed-by: Horia Geanta Thanks! Horia