Received: by 10.223.176.46 with SMTP id f43csp558480wra; Sat, 20 Jan 2018 00:01:01 -0800 (PST) X-Google-Smtp-Source: AH8x226hNIeu0cbR6EpNjxQllBwqMfimFyPky/wy+jtp2WqcLtlfGe9HEB9fsI7d/vriK1IqiX1g X-Received: by 10.101.86.73 with SMTP id m9mr1255754pgs.70.1516435261299; Sat, 20 Jan 2018 00:01:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516435261; cv=none; d=google.com; s=arc-20160816; b=MDAUisIjIbZuwzGNHPWRp3VosCsBbllV6l9UP4JIbz053nC07WEvDkr5iHSA/TkQpf Yn1hHhH0hCL88ve1azIrGZFKciIJBkbSfWp5BfS7vHUaRNmgHfTWCl3Wv2kshmxwUQPw UTapQfqvgcR6iGOAkqs0PKzGnlEgjzswSThyK9RhruMnGLg9XwgeV+FP2X5ZBd/gxLyh S6hZj1unykGEr4UCL306xCxmbl2Mm5p5qX+kHtJZrlxdzUDkONIvreurTq9afPFazxxG 2+oCyYTKYbH5oTMUs6cvL5ACstG5t8uT/Y0EqcDioFJkvp8vUX/0gMf0R9a4B3XHqvhb g2cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=j9/sJrUnrerSEIoO8fnBK/wh4tpPt5ITyJjiU1pZusc=; b=FvzIK5+GAIUD45QcoQ/Xu9o4qnOl/OC/VpaSRFA1uAOJ65K0vj6/4iAWOrOwrN3xtg jS4sShaluT32ALjkiB/aR+KyEpK0BI083TcfSBE6rEoDSOZAdoyXGs21cChb9uDrUwlN 97UTsSEIIhDSVGuhfFSB4fuhSrrWo4D6xGTcTuxmn9JIKS93/RvPczW0tAvdycYbGtvG hhU7CDXLQlChmv9xKyRDimjUZ8fOfPuvWTg/fJRhdnN2q1f33hK6Si0NWepE5SBUfh/R wvhA2DWZNWYuIdn8adm8kRvmPJsrshCxt10xzJeJaqIm/ec0EA9g6vznIdWJSPpOgIO/ NE3g== ARC-Authentication-Results: i=1; mx.google.com; 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 m27si9763444pgn.667.2018.01.20.00.00.47; Sat, 20 Jan 2018 00:01:01 -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; 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 S1754607AbeATIAQ (ORCPT + 99 others); Sat, 20 Jan 2018 03:00:16 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:57954 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751061AbeATIAK (ORCPT ); Sat, 20 Jan 2018 03:00:10 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 6FD3CDA5; Sat, 20 Jan 2018 08:00:09 +0000 (UTC) Date: Sat, 20 Jan 2018 09:00:08 +0100 From: Greg KH To: Liam Mark Cc: Laura Abbott , Sumit Semwal , linaro-mm-sig@lists.linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: android: ion: Zero CMA allocated memory Message-ID: <20180120080008.GA20172@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 19, 2018 at 11:16:47AM -0800, Liam Mark wrote: > Since the CMA API is now used directly the allocated memory is no longer > automatically zeroed. > > Explicitly zero CMA allocated memory to ensure that no data is exposed > to userspace. How far back does this patch need to be ported? What is the git commit id that caused this change to be needed? Please add it as a "Fixes:" tag to the patch. > > Change-Id: I08e143707a0d31610821a7f16826c262bf3c1999 I'm guessing you didn't run scripts/checkpatch.pl on this patch :( Please fix up and resend. thanks, greg k-h