Received: by 10.223.185.116 with SMTP id b49csp3963303wrg; Mon, 26 Feb 2018 08:56:10 -0800 (PST) X-Google-Smtp-Source: AH8x227P2Bov1vdRHumEHg9xMSXBpncqHaR/1gclFcpTL8aMQhx1QjvkLaZCLbtbL11tN1wHLzPA X-Received: by 2002:a17:902:8b88:: with SMTP id ay8-v6mr11270090plb.197.1519664170773; Mon, 26 Feb 2018 08:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519664170; cv=none; d=google.com; s=arc-20160816; b=ztTZGhEASJWn0MVzxqhA8IMGr47aWLti4bfiCumGI9SeQ/DMT1rxOWg/gDTwMh3N3+ oFqjW/iODIqt/gbxlsmwL5SAJ6xh0gJ4Qhn8cmuLSb039mHMEGgV35TB8vbk6WRhRdb0 OEL6yEw1FkRNEBT8h1wxiOAzCzHoUqxuP1pRItTmt5cDIFQ5u7j78ctJDYYnuk2uA7Tk bBVNgleODGY/BeiitCZF/PfKl52ToUcMix3AWMCMVeWvG67MdFLDgE/wRiPqhs0Og+2p cWBW/lw7vzg4sZwDdPYc8o03xbN3Rc27kurPNu3whs1kMj+x0TBPwij+GtfPQ42oqWtr Vh5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to :arc-authentication-results; bh=4VLG2xpkvWLaStF3nhz4n5PXfKGh477mOqtxsatTgro=; b=hh4Ny6qDG4xPcz2EWWdBjrQ56xQ75fiEZZJ/bHVAdH0AcCc50bJ6OzbhvNdZNCwArs qxa70TRrbvtmo0kkp+UIVBrsOrsY7rm4HyvEoVQ0LWTGxM/kHxYInfcxRqCcOQJnQMke +VDQJclG4Z9NgTLzNXopRxX/Ks6czDjgEMj8lbZovSqBjOBrTsy6zQu+s2uZXGYES0BF JyT/prqLrxZWOL3IekoDxbUfES1QRfNq+6oB0FAz4msqhUQpAj7MXx+lXnYcRTF1BUCT R7fhosaR5+A4edM8sptJ5UNezuKWkGdAQnIuV/m4y0722CSD7eI0FMvaoiJ4m+g14yHS XRxw== 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 h1-v6si7108888plt.728.2018.02.26.08.55.56; Mon, 26 Feb 2018 08:56:10 -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 S1751505AbeBZQy5 (ORCPT + 99 others); Mon, 26 Feb 2018 11:54:57 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:59569 "EHLO mailout.easymail.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750767AbeBZQy4 (ORCPT ); Mon, 26 Feb 2018 11:54:56 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id E9015C0DCA; Mon, 26 Feb 2018 16:54:55 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7TvRIxioNydL; Mon, 26 Feb 2018 16:54:55 +0000 (UTC) Received: from mail.gonehiking.org (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) by mailout.easymail.ca (Postfix) with ESMTPA id 69DCBC04F8; Mon, 26 Feb 2018 16:54:38 +0000 (UTC) Received: from [192.168.1.87] (shuah-xps.internal [192.168.1.87]) by mail.gonehiking.org (Postfix) with ESMTP id 474C99F2DC; Mon, 26 Feb 2018 09:54:38 -0700 (MST) Reply-To: shuah@kernel.org Subject: Re: [PATCH 1/2] selftests: ion: Remove some prints To: Laura Abbott , Sumit Semwal Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Todd Kjos , dri-devel@lists.freedesktop.org, Chris Wilson , Liam Mark , linux-kselftest@vger.kernel.org, Shuah Khan , Shuah Khan References: <20180216012445.17264-1-labbott@redhat.com> <20180216012445.17264-2-labbott@redhat.com> From: Shuah Khan Message-ID: Date: Mon, 26 Feb 2018 09:54:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180216012445.17264-2-labbott@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/15/2018 06:24 PM, Laura Abbott wrote: > There's no need to print messages each time we alloc and free. Remove them. > > Signed-off-by: Laura Abbott > --- > tools/testing/selftests/android/ion/ionutils.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/tools/testing/selftests/android/ion/ionutils.c b/tools/testing/selftests/android/ion/ionutils.c > index ce69c14f51fa..7d1d37c4ef6a 100644 > --- a/tools/testing/selftests/android/ion/ionutils.c > +++ b/tools/testing/selftests/android/ion/ionutils.c > @@ -80,11 +80,6 @@ int ion_export_buffer_fd(struct ion_buffer_info *ion_info) > heap_id = MAX_HEAP_COUNT + 1; > for (i = 0; i < query.cnt; i++) { > if (heap_data[i].type == ion_info->heap_type) { > - printf("--------------------------------------\n"); > - printf("heap type: %d\n", heap_data[i].type); > - printf(" heap id: %d\n", heap_data[i].heap_id); > - printf("heap name: %s\n", heap_data[i].name); > - printf("--------------------------------------\n"); > heap_id = heap_data[i].heap_id; > break; > } > @@ -204,7 +199,6 @@ void ion_close_buffer_fd(struct ion_buffer_info *ion_info) > /* Finally, close the client fd */ > if (ion_info->ionfd > 0) > close(ion_info->ionfd); > - printf("<%s>: buffer release successfully....\n", __func__); > } > } > > Thanks Laura. I will queue this up for 4.17-rc1. thanks, -- Shuah