Received: by 10.223.185.116 with SMTP id b49csp2654858wrg; Mon, 12 Feb 2018 13:27:25 -0800 (PST) X-Google-Smtp-Source: AH8x225lopE/44YVYZSu4g7AKBLxs6SDmzc9vJCApOqdwm5oFFCYPqS3w2Kvfr8BVWSqSZbTorQx X-Received: by 10.99.102.1 with SMTP id a1mr10270123pgc.452.1518470845534; Mon, 12 Feb 2018 13:27:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518470845; cv=none; d=google.com; s=arc-20160816; b=BnPiKB+yUiugbkyF9ShxH3Krgd75nTLTJg3J+b9DbJ4DthEwv2Bp2pHGcs8Zk0Pmj3 r2n9/9Q7ZkHr7C4yLJlBhAhlJjBRMEcK04nR8LLdzOXUhVAZ6Tt6HNCGs2pQwZqBYhwj caTV1OVdaHary/iC0yd7M0wrvgn8DXafvZYvqjdzi2jqq5vicIrO8kctAYLHbQUWkx51 qBx1dtP1RV5LNFJ0DmqvBsgdqGWy+693HuWSW/O3CbPChIyFNp7KA5xH4MuBY9K3tUD6 9yY8VqLDC9cbSMcYMfkdfeza62m1koM78UZrhjqJ6AyGDgg2Tusu7VKLgcYl8LIsVZ0Q G+vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=7hwfscRl25sD14UVAPVnMopUnPjugJM93GejkwCy+R0=; b=JFZBo/ITDVH8Gi6DiazaVqY0+FNmb7hUZvwe045WphU90vJ8rgz5+aDuLPTG5p8POo TGVb/zzFdqkOCz1P5NuUxqtsMI29+w4nYK7tJWMP/IcZBuYmqFzX6N10kIHW0ri4qheA goXSeG21eMkdkTaWGiA5PcN24/DiyMiBSqvOzFEwBBTaxxUPbOfc+vEASG4PeRrAiDTC RITO6u0KRxem7qTIyiEQZMS7dHmoN6NMStKpBeYQ4+WmlOp97Zi1xK7Xxzil+p9C88Tf nIybuWxmiSrSUT1b1GnMJzR4ibutPXQwHf2ompMG6DIJ4vDLAnLuC4aVpMPv/rQyycI/ L8Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=jaZ5CUNN; dkim=pass header.i=@codeaurora.org header.s=default header.b=jaZ5CUNN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si231749pgr.249.2018.02.12.13.27.10; Mon, 12 Feb 2018 13:27:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=jaZ5CUNN; dkim=pass header.i=@codeaurora.org header.s=default header.b=jaZ5CUNN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932308AbeBLVZ4 (ORCPT + 99 others); Mon, 12 Feb 2018 16:25:56 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:47524 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932153AbeBLVZz (ORCPT ); Mon, 12 Feb 2018 16:25:55 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id EDE3460F91; Mon, 12 Feb 2018 21:25:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1518470754; bh=z1PhIJkZYs0h4vcYnUN1BIQnDH7z+R4ur90Krsd0cjA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=jaZ5CUNNyva4Ql/At6R/flDre0DFyAwJyJaiMufkgIXDl6rBI/bVBYDzo/u5hu8l/ 0heIAd4Ticn+fvh5gQM+VoKRGp/HIu4L+Xl4cZAyUXRtnP0nXtk2BZI28jZ+fI3kvM IpR60jzPPwsibbMmoLSz07/AJ5UwSZShOxJstl+M= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from lmark-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lmark@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 31F59607C7; Mon, 12 Feb 2018 21:25:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1518470754; bh=z1PhIJkZYs0h4vcYnUN1BIQnDH7z+R4ur90Krsd0cjA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=jaZ5CUNNyva4Ql/At6R/flDre0DFyAwJyJaiMufkgIXDl6rBI/bVBYDzo/u5hu8l/ 0heIAd4Ticn+fvh5gQM+VoKRGp/HIu4L+Xl4cZAyUXRtnP0nXtk2BZI28jZ+fI3kvM IpR60jzPPwsibbMmoLSz07/AJ5UwSZShOxJstl+M= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 31F59607C7 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=lmark@codeaurora.org Date: Mon, 12 Feb 2018 13:25:53 -0800 (PST) From: Liam Mark X-X-Sender: lmark@lmark-linux.qualcomm.com To: Dan Carpenter cc: Laura Abbott , Sumit Semwal , devel@driverdev.osuosl.org, linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: android: ion: Initialize dma_address of new sg list In-Reply-To: <20180212065620.iqlzczhqzlrmel5n@mwanda> Message-ID: References: <20180212065620.iqlzczhqzlrmel5n@mwanda> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-2046127808-1346162756-1518470754=:2345" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---2046127808-1346162756-1518470754=:2345 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT On Mon, 12 Feb 2018, Dan Carpenter wrote: > On Fri, Feb 09, 2018 at 10:16:56PM -0800, Liam Mark wrote: > > Fix the dup_sg_table function to initialize the dma_address of the new > > sg list entries instead of the source dma_address entries. > > > > Fixes: 17fd283f3870 ("staging: android: ion: Duplicate sg_table") > > Signed-off-by: Liam Mark > > How did you find this bug? What are the user visible effects of this > bug? I'm probably going to ask you to send a v2 patch with a new > changelog depending on the answers to these questions. I noticed the bug when reading through the code, I haven?t seen any visible effects of this bug. From looking at the code I don?t see any obvious ways that this bug would introduce any issues with the current code base. Liam Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project ---2046127808-1346162756-1518470754=:2345--