Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp454447imu; Fri, 4 Jan 2019 00:34:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/VFATceaCcV8HdoMeEYbAKP3JFn1oxDciLGe/Nb+1uCf9/lL7AGOEGp9gBg57DpBAuym93D X-Received: by 2002:a62:5dd1:: with SMTP id n78mr50719945pfj.58.1546590854588; Fri, 04 Jan 2019 00:34:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546590854; cv=none; d=google.com; s=arc-20160816; b=bRlHJESkjuCW5GyU3L6JzlOZugiClZp9/kQ8mlc337IYdpns8HWnut7E4m65R+TIG/ nLglXr9xiKYEfWTwMsjUMb14CHYRCTUTnjHMLbYEfwJKM16fhynCdawaeRg4I0/X7qXF e75QDeZj/BDl9MUEYZbtoBKRMaptj2jBS/tyLYRR0e/lqNRxrNfWKUtfc67tbW0LTqnD RjknuktYTSkCq1BHYsr4ePzUnIhExO5LmONJ/Kk63aZtyMb4wXl0AXlKTd+xrKmakh49 Zxa41CnvRBRuBQLY+yOlIU/LlN5aJg9i1wojtChhFLL4qyNSJQdVsjt1n73dOf/Qjdoi hBeQ== 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; bh=mjF8YbjRfXr1RRsG3GBj1Snl/HKKvIIg0G/4ZslWYsk=; b=T3zGR+ul2NdxsPJ4VXP8ukr774j3ZSHNkKs7ihj/QtDXBT/S2COzZBCnAG+ljtoC5U tygm9JxRkM9s2uNp0XUnnXEYuDt4yV9H1lmp4/7YMFLG84Kiiv1XjmUNEyvG8HrtZJyk +rjgnAQpsu5XJgPXrc2SkUi2tWLmUAGCuxLEHks5wmmCBWTibvRIYUumnTbtP0fcGfHt ATHpt3zZDdaocZ3LGt3SEVqAHvggWX1e51xZftPZrMLXpvM/advtwL1i7R8eHhvlfQc5 kKqwnMkYCSqtap1zSVosfingmN5hZo7qC/IJYQpqmPCVXY2sJYgNd7MmCu1WKa9XoIOQ gNAQ== 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 s13si39046798pgc.509.2019.01.04.00.33.45; Fri, 04 Jan 2019 00:34:14 -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 S1726210AbfADH0w (ORCPT + 99 others); Fri, 4 Jan 2019 02:26:52 -0500 Received: from verein.lst.de ([213.95.11.211]:38251 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbfADH0w (ORCPT ); Fri, 4 Jan 2019 02:26:52 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 0DC6F68AFE; Fri, 4 Jan 2019 08:26:51 +0100 (CET) Date: Fri, 4 Jan 2019 08:26:51 +0100 From: "hch@lst.de" To: Huaisheng HS1 Ye Cc: Stefano Stabellini , "hch@lst.de" , "konrad.wilk@oracle.com" , "boris.ostrovsky@oracle.com" , "jgross@suse.com" , "m.szyprowski@samsung.com" , "robin.murphy@arm.com" , "linux-kernel@vger.kernel.org" , NingTing Cheng , "xen-devel@lists.xenproject.org" , "iommu@lists.linux-foundation.org" , Huaisheng Ye Subject: Re: [PATCH] dma-mapping: remove unused attrs parameter to dma_common_get_sgtable Message-ID: <20190104072651.GA14560@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 04, 2019 at 01:45:26AM +0000, Huaisheng HS1 Ye wrote: > From: Stefano Stabellini > Sent: Friday, January 04, 2019 1:55 AM > > On Thu, 3 Jan 2019, Huaisheng Ye wrote: > > > From: Huaisheng Ye > > > > > > dma_common_get_sgtable has parameter attrs which is not used at all. > > > Remove it. > > > > > > Signed-off-by: Huaisheng Ye > > > > Acked-by: Stefano Stabellini > > > > FYI the patch doesn't apply cleanly to master. > > Got it, I will rebase it to branch master and resend the patch later. I think we can skip it. For the next merge window I plan to remove the fallbacks for get_sgtable and mmap and instead wire everything up explicitly. And to be a possible method instance it will have to match the prototype and thus keep the unused argument.