Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2225583ybc; Sun, 24 Nov 2019 16:03:54 -0800 (PST) X-Google-Smtp-Source: APXvYqzSDIk9KqEyWwuZZaXH6QgVCQTlnOlaJi3vW34GnnlqOdrkCL6HduDMildDMIm5g6yW80a3 X-Received: by 2002:aa7:dc0c:: with SMTP id b12mr15227129edu.186.1574640234342; Sun, 24 Nov 2019 16:03:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574640234; cv=none; d=google.com; s=arc-20160816; b=fNdYYzPLAJeyG8zNvhJ2C8HpxrVhz0f8N2VO3E2rz8cvrfYuR9lGfklclwexWg/k/k 16PtETICBPu9ZhEpD788+t9hyJYGZBhKmcacdv7orbJE3uN2u/JV3aM79mfXxfG88mfD H8OqweEFzoXi1J1EPm7/9ARarjlGSWORay6mhqYKEKSePCtFuxyu3IV8Q9/4/o94aa0G UyGR6RTPCDM0aymwodesTR7dKzln+5O9vLF4Wa+YCSH228zTNLySlXzzeMbujaWjCNQJ gtxPDAG9je/KDL16vpv7SQNkZbfmKrD2P6ewlbFTlhaVg4ZtIM4GoUgukKUZAl9DdIeO 5Oxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:user-agent:dkim-signature :dkim-signature; bh=x+tDdMWKBIFb/MGGtC1anmSIzBdbBpVlggF2pFtQW5Q=; b=egUbPonFi6DhveXEdxXRffe3Ipb65liUsdZH/mbOu2/4sWsysA0e010JVx9sqS0nCI qT5Rim1A/TTaPfYPlPpoUjfSJyQi4Z6dlaU9NgGjR01MouW0ros6QmqslGxp6fVtpbBo 9a2lSttlmXUpx4QNdy9zCkaxUxS+XXA5fjdHcRgWlec+DtOuGcGn6OWgM6/rXLTiYn8y ubnQWS4a+cQcJ06Om35pUFvZ0w2hwhuj2EamRjegkQHAUCHwUEOdydrDDWXukC5VtpLo DaIXF6UdmbTjkV3tpMa137T0/HT/aSMwKMqj9cV0k7oZSs8gIpoJ4fApFCzNzksNZVvl Q7kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm1 header.b=YO5yHAIb; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=TR0N2AZk; 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 pv8si3521094ejb.108.2019.11.24.16.03.31; Sun, 24 Nov 2019 16:03:54 -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=@aj.id.au header.s=fm1 header.b=YO5yHAIb; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=TR0N2AZk; 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 S1727116AbfKXX7s (ORCPT + 99 others); Sun, 24 Nov 2019 18:59:48 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:60315 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726803AbfKXX7s (ORCPT ); Sun, 24 Nov 2019 18:59:48 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id F0F2922967; Sun, 24 Nov 2019 18:59:46 -0500 (EST) Received: from imap2 ([10.202.2.52]) by compute4.internal (MEProxy); Sun, 24 Nov 2019 18:59:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=x+tDdMWKBIFb/MGGtC1anmSIzBdbBpV lggF2pFtQW5Q=; b=YO5yHAIbA2MZKbPGtU+/WaAHDDljYyrdv7zIHyeHuzlGXOa mCEO6rh9wRCeTmYRzlh6wj5pH8n33JECFLFjRBtctKPsT7cEOkrDlEFP+uAxuRug TD0K2IuOE9mtyfojqTgisq/kHbQrARf/rm2bwkZPugY1EUSf3Iwa3hBhI9iBuPm0 /0u1tjyOl2y0wvUTnOvNlb1Lz1yvwup+zvCbhUIjN2gAVpFU1YKccbgJfi2HqlfW zZrDXy952PUpXKR+a7v7U3V3jwdGS+VFTEh7LK+P/gvRme6JvWtdRie1OUSDavlZ DPOYognNxMz7cWOt3SlPu3OOpXBLwFM/7wMiS4w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=x+tDdM WKBIFb/MGGtC1anmSIzBdbBpVlggF2pFtQW5Q=; b=TR0N2AZkZIm/ia6TA/b5oc udFh5CVzCe7O4Eer9P/F7X/FSUjgDBf4SuiqVxGQptf3dlNNyOzZEyCg8CNju3Ky T9X4+hyCQIfLKkZLeQxlG8YtSA3jLoyShGvqV4HX2dtnfqok6HdVzmoqWvnsEQCo jC/PHx7/8RFl6Kpi9UxkbrxWHnzdm7GjcoI0CVralB3iSEJgpVaouGqvYFSjAL8h XjtaG+tlboCATeGDNaD/p2dPlvwM57afOVFYbhpY9B882QFwC1W7BEmOSLRw9evl aeZYZQwC1eFe6U5OlACvLVZkkarehfmH6t2WxfdPRoIVxYA/vcr8ifMCkrn14FNQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudehledgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdetnhgu rhgvficulfgvfhhfvghrhidfuceorghnughrvgifsegrjhdrihgurdgruheqnecurfgrrh grmhepmhgrihhlfhhrohhmpegrnhgurhgvfiesrghjrdhiugdrrghunecuvehluhhsthgv rhfuihiivgepud X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id C6CC6E00A2; Sun, 24 Nov 2019 18:59:46 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-578-g826f590-fmstable-20191119v1 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <1573244313-9190-1-git-send-email-eajames@linux.ibm.com> <1573244313-9190-7-git-send-email-eajames@linux.ibm.com> Date: Mon, 25 Nov 2019 10:31:13 +1030 From: "Andrew Jeffery" To: "Eddie James" , linux-kernel@vger.kernel.org Cc: linux-aspeed@lists.ozlabs.org, "Joel Stanley" , maz@kernel.org, "Jason Cooper" , tglx@linutronix.de, "Rob Herring" , mark.rutland@arm.com, devicetree@vger.kernel.org Subject: Re: [PATCH 06/12] drivers/soc: Add Aspeed XDMA Engine Driver Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > +static int aspeed_xdma_remove(struct platform_device *pdev) > > +{ > > + struct aspeed_xdma *ctx = platform_get_drvdata(pdev); > > + > > + gen_pool_free(ctx->vga_pool, (unsigned long)ctx->cmdq_vga_virt, > > + XDMA_CMDQ_SIZE); > > You've used devm_gen_pool_create(), so no need to explicitly free it. Sorry, disregard that, brain-fart. Andrew