Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4477782imu; Mon, 12 Nov 2018 11:42:14 -0800 (PST) X-Google-Smtp-Source: AJdET5fIiualOJHPNfDrgU79qencIvM448rVFWUw8tLlGjVN4QvLU4Pw2bp9sY8U9JDvA4gVAWFl X-Received: by 2002:a62:3a82:: with SMTP id v2mr2103970pfj.174.1542051734173; Mon, 12 Nov 2018 11:42:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542051734; cv=none; d=google.com; s=arc-20160816; b=TmSH47zidrG6UTDZOCht9hYilBOtRZ8kddeemTD59P5gO/HfDx2GPiyLYW9GFvTbAe lUWq2djeZGhnKVYAAQ8p28VtuRe2+p/hZc4UHJXYQ2rhrOEEyCo3Sa+J52qO+nl5FXIU 6w3Mq2mANDC/3vj/3IiFCh3HA0/vXnYCAZCN2+oske3qHq/dXYlToq/S+ENChkJ/nrck EFf5EnO4b7L7XZMh+mzymHR4QCRhy7/9hy2UHhKkkWgMmltCSHQJsObj9wvztoH2JjQX mV4kOn8OMDuSM1nKSEvOgxyQghU4GCLxUqn4ZaG3TvsleUdcFPKTdf0E1MilvImtxOWI N76w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=s8LpIPVd+qGSObgVaEHH8y/FFimHJl4zrgBad49iIMA=; b=CfI9kGkr61S/K0a5w365JCSlsgOzkmoTlwMaC8aJopo5fYybqJv37xQzd6FYb/A2z1 8xwS3shCdtAn/7nTZyszf+fvIEXwxTsct2SO3TgbHYYsL4ovwrWp1SFNvy/AoW9ifLma dhnzicFMVjsx8T56hd7FO1+EiVP/FM9BMmUNotmhz6E8Y2aS24uQsEW+p+FtgIe/d0rp MM3hYXQaFOGFvMiUdBCw4PZXa0ObYTJpaAXCS3uSUu5y4/NmJKYp0Ojkxxb1NcB5zIch 4UNQ8DxqSrz73TYAYNAG7eKuZeSXHI+fAqH9gXgiTBDfcZf1QARy4spH0PnbNvhhRlNm bFjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BDKtMvwp; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11-v6si17268227pgb.563.2018.11.12.11.41.58; Mon, 12 Nov 2018 11:42: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; dkim=pass header.i=@kernel.org header.s=default header.b=BDKtMvwp; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727530AbeKMFez (ORCPT + 99 others); Tue, 13 Nov 2018 00:34:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:34014 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725749AbeKMFez (ORCPT ); Tue, 13 Nov 2018 00:34:55 -0500 Received: from mail-yw1-f48.google.com (mail-yw1-f48.google.com [209.85.161.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B738722419; Mon, 12 Nov 2018 19:40:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542051615; bh=Fjjmnozbtsm59SSIS+DW09xLforYib0zL9xCcs3HkqE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BDKtMvwpeHzSMZPSs7rK3N4TzR9DFsP4/5YeBT3aKetjwlMG2twzCV68vy6G98Lor J1+sSOtt3hpkMEm31aimaLWcyv8Y2qGhmJuCPzGgoSiRtSryi82KKk7BbUf/lWv2nk +1lhGL0L6nMZgKj6nBiRQtOTV0nPzSfwvGPdRklQ= Received: by mail-yw1-f48.google.com with SMTP id u202-v6so1743177ywg.10; Mon, 12 Nov 2018 11:40:15 -0800 (PST) X-Gm-Message-State: AGRZ1gJZnrB+5rNMZaGujT/VV8P5HOGRCvVaZOAmLK844etu4dlPY3qZ 65Xao6Vh/WwXruJQsH0S9t9ieH0O5KgiIKNNo8o= X-Received: by 2002:a81:a38f:: with SMTP id a137-v6mr2158713ywh.474.1542051615033; Mon, 12 Nov 2018 11:40:15 -0800 (PST) MIME-Version: 1.0 References: <20180912144327.3130-1-atull@kernel.org> <20180912144327.3130-6-atull@kernel.org> <20180930154845.GA13200@kroah.com> <20181112180206.GA28739@kroah.com> In-Reply-To: <20181112180206.GA28739@kroah.com> From: Alan Tull Date: Mon, 12 Nov 2018 13:39:38 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5/5] fpga: dfl-fme-region: Use platform_get_drvdata() To: Greg Kroah-Hartman Cc: Moritz Fischer , linux-kernel , linux-fpga@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 12, 2018 at 12:02 PM Greg Kroah-Hartman wrote: > > On Mon, Nov 12, 2018 at 09:46:53AM -0600, Alan Tull wrote: > > On Sun, Sep 30, 2018 at 10:48 AM Greg Kroah-Hartman > > wrote: > > > > Hi Greg, > > > > > > > > On Wed, Sep 12, 2018 at 09:43:27AM -0500, Alan Tull wrote: > > > > From: Moritz Fischer > > > > > > > > Use platform_get_drvdata() in remove() function of > > > > the platform driver rather than dev_get_drvdata() > > > > to match the platform_set_drvdata in the probe(). > > > > > > > > Signed-off-by: Moritz Fischer > > > > Acked-by: Alan Tull > > > > --- > > > > drivers/fpga/dfl-fme-region.c | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --git a/drivers/fpga/dfl-fme-region.c b/drivers/fpga/dfl-fme-region.c > > > > index 51a5ac2..3fa0de2 100644 > > > > --- a/drivers/fpga/dfl-fme-region.c > > > > +++ b/drivers/fpga/dfl-fme-region.c > > > > @@ -66,7 +66,7 @@ static int fme_region_probe(struct platform_device *pdev) > > > > > > > > static int fme_region_remove(struct platform_device *pdev) > > > > { > > > > - struct fpga_region *region = dev_get_drvdata(&pdev->dev); > > > > + struct fpga_region *region = platform_get_drvdata(pdev); > > > > > > This is nice, but not a bugfix. I'll wait for 4.20-rc1 for this patch. > > > > Could you take patch 4/5 and 5/5? They didn't make it into a 4.20 rc yet. > > Can you resend them please? I don't see either of these in my queue > anywhere. > > thanks, > > greg k-h Sure! Just sent them. Thanks, Alan