Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3306871imu; Fri, 18 Jan 2019 08:11:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN54558VqvoSRLdc0YB0hoW6VT9kOzDkkqgVEgGLDUiJva8r6dsyACmslpJWqcNtVfBna7n2 X-Received: by 2002:a17:902:6a4:: with SMTP id 33mr19375325plh.99.1547827898503; Fri, 18 Jan 2019 08:11:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547827898; cv=none; d=google.com; s=arc-20160816; b=xv6/dhZH7MBcrrAqCkNIgVWP24Y4y+aOMqlvOQmOqRrP7DHAxDEP05TxGR0oZWedbK L1/Fbu14dAjnOFkhVG/e7mQMnylPzUyYkNsBGVM3lvnsZyLsQP32TAC04nIqeTRUW/8f yUHDat2J9Xxb32jqkpmEDRgjo9DUEsL5hlqpxgSDjJ2NeE+J6pKoQQvqgmoZSTiUWM4A 7TECLb5mmgN89JVeDrx4FcOaoeEGq9KOdt+YFbu+6GXlx5XbdDpNrFdF8m2tObhWV1Ym +9jjBNv+wPu+/BJNWE9hXcySTDpcX7CH4kN7dr8vbPx8k/TQ5fYA5It8p7BQsxe9grB5 symA== 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:dkim-signature; bh=kdnsi1vWOwdZ5miOnYpGyxAuJdw0eHG3tnXCtnQUav4=; b=H2ANGfnpNtKpd+XybulDrAoVHFnCImDrLo5Dp3JbVIYkp0HXLsTAJUomupTCpSSRgo paCaWlM/gSjg6YcdiozfSy8r46ZDFMjNEuVUb9eNk4z2q74EAcU9RZe4e6+h5z2CdIwa QJ5hfsQT7IlzMkAh/vAbT7wc9xIPxoB3EGsqzQ/g2gNMTiywPi1yFpp0JoAGjlkFIiDR BnCjJW9kqVSU1JnRbwlS737dBVepFxtnNr4ODVe8OztX/AfweKOHjT2agqwF2mSH6UcS CbBiM+3yvHhS1Y7aUWG9QVvcpB/Dd1ChkH/qPZcMxeXLuIdD8f/6IPgp1/srt2V3KMgp kyDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=PYfEWPpI; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c37si4711171pgm.156.2019.01.18.08.11.20; Fri, 18 Jan 2019 08:11:38 -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=@ti.com header.s=ti-com-17Q1 header.b=PYfEWPpI; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727644AbfARQJh (ORCPT + 99 others); Fri, 18 Jan 2019 11:09:37 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:43014 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726902AbfARQJh (ORCPT ); Fri, 18 Jan 2019 11:09:37 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0IG9VY1116565; Fri, 18 Jan 2019 10:09:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547827771; bh=kdnsi1vWOwdZ5miOnYpGyxAuJdw0eHG3tnXCtnQUav4=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=PYfEWPpI6QILU7Q/S2BT6f965xY1ZaazR3eKw+RsALGenel5iMpW9IWC0ew5wbO+6 oQl1JNCzSTWF/Y38zj2qzBk+rWc4n7DW+aEmII1S5K5HxeyzDaEtFL4D6yNUaWBRwK K+Sha7PFFz62qjFIbglLqwG09JIb8kBxAn+uuVdc= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0IG9VGW091978 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Jan 2019 10:09:31 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 18 Jan 2019 10:09:30 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 18 Jan 2019 10:09:30 -0600 Received: from [172.22.101.212] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x0IG9U1P008823; Fri, 18 Jan 2019 10:09:30 -0600 Subject: Re: [PATCH 12/14] staging: android: ion: Declare helpers for carveout and chunk heaps To: Greg Kroah-Hartman CC: Laura Abbott , Sumit Semwal , =?UTF-8?Q?Arve_Hj=c3=b8nnev=c3=a5g?= , , , References: <20190111180523.27862-1-afd@ti.com> <20190111180523.27862-13-afd@ti.com> <20190118095909.GB28982@kroah.com> From: "Andrew F. Davis" Message-ID: Date: Fri, 18 Jan 2019 10:09:30 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190118095909.GB28982@kroah.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/18/19 3:59 AM, Greg Kroah-Hartman wrote: > On Fri, Jan 11, 2019 at 12:05:21PM -0600, Andrew F. Davis wrote: >> When enabled the helpers functions for creating carveout and chunk heaps >> should have declarations in the ION header. > > Why? No one calls these from what I can tell. > > Which makes me believe we should just delete the > drivers/staging/android/ion/ion_carveout_heap.c and > drivers/staging/android/ion/ion_chunk_heap.c files as there are no > in-tree users? > > Any objection to me doing that? > I use those when creating carveout heaps. My exporter is out of tree still as it uses DT and the proper bindings have not been agreed upon yet. These helpers also make good heap creation references, even if not called by anyone in-tree right now. Thanks, Andrew > thanks, > > greg k-h >