From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:47449 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728714AbeLSOlG (ORCPT ); Wed, 19 Dec 2018 09:41:06 -0500 Date: Wed, 19 Dec 2018 15:41:05 +0100 From: Christoph Hellwig To: Horia =?utf-8?Q?Geant=C4=83?= Cc: Herbert Xu , "David S. Miller" , Aymen Sghaier , Christoph Hellwig , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com Subject: Re: [PATCH] crypto: caam - fix zero-length buffer DMA mapping Message-ID: <20181219144105.GA23389@lst.de> References: <20181219143644.22089-1-horia.geanta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181219143644.22089-1-horia.geanta@nxp.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: Yes, we should never do zero-length dma mappings, so this looks good: Reviewed-by: Christoph Hellwig From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2374C43387 for ; Wed, 19 Dec 2018 14:41:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 84604218AE for ; Wed, 19 Dec 2018 14:41:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XMZ3n9WA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84604218AE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QzydTQS0d1H64Tc/k42dwX10ZGjZwOjRV/E0GbAW9hw=; b=XMZ3n9WAmyVn2G tUx/uSXeBB6sH5ugezXnDlMTEwoqLJE9MA5Oz/zXIHslxiL2Zrxh2V1Q8uP8NKkeCGa3xtyjempOq EQ0OVEpYZuox23UcrdiqQEEsF2byjjq96oc/JJpAzK7wPyH5yWPlX35dNxUj2OAchKfk49iwKhthw 93s025/vWmpJ5gN7dF4TMSqBogLNgEmJzWye7t+6sCtMG9HL67Yjm/K/COCC7K5z+6EdVPB9xKcv+ 0vEQEVHOjqO/wl4CQlsHuABwsILDBVbsyTxZyL8Yz+9cyX7+1nYrQpNf5aOdhbbWz0gYoDvW8t+v5 hRT9ZjWQNXr0mud7+zSQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZd2I-0005Ev-Ue; Wed, 19 Dec 2018 14:41:22 +0000 Received: from verein.lst.de ([213.95.11.211] helo=newverein.lst.de) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZd2F-0005Ce-AY for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2018 14:41:21 +0000 Received: by newverein.lst.de (Postfix, from userid 2407) id 7EA0668AFE; Wed, 19 Dec 2018 15:41:05 +0100 (CET) Date: Wed, 19 Dec 2018 15:41:05 +0100 From: Christoph Hellwig To: Horia =?utf-8?Q?Geant=C4=83?= Subject: Re: [PATCH] crypto: caam - fix zero-length buffer DMA mapping Message-ID: <20181219144105.GA23389@lst.de> References: <20181219143644.22089-1-horia.geanta@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20181219143644.22089-1-horia.geanta@nxp.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181219_064119_511351_70CFED21 X-CRM114-Status: UNSURE ( 6.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aymen Sghaier , Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, Christoph Hellwig , linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Yes, we should never do zero-length dma mappings, so this looks good: Reviewed-by: Christoph Hellwig _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel