Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4232411imu; Mon, 12 Nov 2018 07:49:50 -0800 (PST) X-Google-Smtp-Source: AJdET5ePamhTUQGxVSVU0b7R5zQui3TgxQajdF4BkRcG+IGS16t+vKiWsPtNm9RMGUqEeGNOylwD X-Received: by 2002:a17:902:c85:: with SMTP id 5-v6mr1394749plt.42.1542037790733; Mon, 12 Nov 2018 07:49:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542037790; cv=none; d=google.com; s=arc-20160816; b=INQVSwVISMbaCSYA4XC/pOqLqpdQlok3nsIvG2RPSmN9rYJcDNyHQsXw5cZUZ/64pC +fN64pMgyPWbGGXPo21k6ePH4lk1IQXxqemhim2HohAt5SXrGBeFyRgEEiVvw7+DyYg1 A/Nl+YY3bIHm2WsWHzjFGledsiVSjzS+5j6ZIIcmB9Ij0tXgCCtksbkEJaOTjocGRchS S0+TjM/JB5ph9Tc9qBcXGwui2JVPA/BmoV16GBe0MfDbsuABMJR6GC/ubsQjLUSL4pXM K6KIsr3eGtN8aOU1/cvfwI630PlE1wGJdhTW5FdDCsWKaw3g4L4FVhF/lQ9eX0oz+B5K rKcA== 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=5VpnTdR14jrPtqiGA9017Ac3xCY8OGO8HTEjjbvafpA=; b=rCQXY6ln2ZhCTKMuzY0fmJAB1Q71UL0VoGu4vYzw/w53nRm5/izt8/WMQkdmkEAdOt Ae3Q/Lu/Kk2XwbuxSDqsRafzEqr3L9zDyuyjYMd8ixB7S+Q6XtttyT9kvVXlk8WQBm3f kt1aBj7BfxXXiqQ/NTE19htuiNyVuOBSAYBvDddysy49SmXkwfN8SVuTDKFF08rTu6kF lTnWTi1CNLXFHp5RgO03qoUy4q4gjJwpdsjZLcubUHXoZrX2nZSIhvrJA+qsrvqh7B48 2JYy+/l3d1crjMSfOChelo0cyClUqsN3AG5z3xJRnci5uSVlZoMKphGvKK5DVDFuzNVf R36Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qFJ8iZSO; 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 go17si17953867plb.266.2018.11.12.07.49.33; Mon, 12 Nov 2018 07:49:50 -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=qFJ8iZSO; 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 S1729490AbeKMBmZ (ORCPT + 99 others); Mon, 12 Nov 2018 20:42:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:47074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728103AbeKMBmZ (ORCPT ); Mon, 12 Nov 2018 20:42:25 -0500 Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (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 D56CB22503; Mon, 12 Nov 2018 15:48:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542037717; bh=og6tglYplsD+DCYSU6k98sVyaqT68ZPSlxBy/B7WRWU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qFJ8iZSOgs64XKZMtEvCwOrIUpcvR/iv3cl9UjVepvNJIkGAjvlp7rchRtRgLvSup /qkH8iBLfsB15u0PM1XHP41+dT65zlnouIR3lMd2PyCNMz10xRkvdnNBbCvw7eVmf/ q6Mb1U5gBFOwSJdF2KToOPJoMOaSIImJl/swrKsk= Received: by mail-yb1-f169.google.com with SMTP id d18-v6so4082780yba.4; Mon, 12 Nov 2018 07:48:36 -0800 (PST) X-Gm-Message-State: AGRZ1gJU0dSirjvrD/Di1HROdllL2qqb7lYfEVEyDXVDXz3chb15hKLp yIGzeDk48hiuad/oiDR7ln6cfeEyWKjIMkEYsUU= X-Received: by 2002:a25:b28d:: with SMTP id k13-v6mr1393696ybj.222.1542037716075; Mon, 12 Nov 2018 07:48:36 -0800 (PST) MIME-Version: 1.0 References: <20180912144327.3130-1-atull@kernel.org> <20180912144327.3130-5-atull@kernel.org> <20180930154921.GB13200@kroah.com> In-Reply-To: <20180930154921.GB13200@kroah.com> From: Alan Tull Date: Mon, 12 Nov 2018 09:48:00 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/5] fpga: of-fpga-region: Use platform_set_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 Sun, Sep 30, 2018 at 10:49 AM Greg Kroah-Hartman wrote: Hi Greg, > > On Wed, Sep 12, 2018 at 09:43:26AM -0500, Alan Tull wrote: > > From: Moritz Fischer > > > > Use platform_set_drvdata rather than dev_set_drvdata > > to match the platform_get_drvdata in the _remove() > > function of the platform driver. > > > > Signed-off-by: Moritz Fischer > > Acked-by: Alan Tull > > --- > > drivers/fpga/of-fpga-region.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/fpga/of-fpga-region.c b/drivers/fpga/of-fpga-region.c > > index 052a134..d6a70e4 100644 > > --- a/drivers/fpga/of-fpga-region.c > > +++ b/drivers/fpga/of-fpga-region.c > > @@ -421,7 +421,7 @@ static int of_fpga_region_probe(struct platform_device *pdev) > > goto eprobe_free; > > > > of_platform_populate(np, fpga_region_of_match, NULL, ®ion->dev); > > - dev_set_drvdata(dev, region); > > + platform_set_drvdata(pdev, region); > > Again, not really a bugfix :) Could you take this patch 4/5 (just sent a reminder for 5/5)? Thanks Alan