[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2572890.e6aV4hmMEL@wuerfel>
Date: Fri, 28 Oct 2016 12:47:54 +0200
From: Arnd Bergmann <arnd@...db.de>
To: linuxppc-dev@...ts.ozlabs.org
Cc: Yangbo Lu <yangbo.lu@....com>, linux-mmc@...r.kernel.org,
ulf.hansson@...aro.org, Scott Wood <oss@...error.net>,
Mark Rutland <mark.rutland@....com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Xiaobo Xie <xiaobo.xie@....com>,
Minghuan Lian <minghuan.lian@....com>,
linux-i2c@...r.kernel.org, linux-clk@...r.kernel.org,
Qiang Zhao <qiang.zhao@....com>,
Russell King <linux@....linux.org.uk>,
Bhupesh Sharma <bhupesh.sharma@...escale.com>,
Joerg Roedel <joro@...tes.org>,
Claudiu Manoil <claudiu.manoil@...escale.com>,
devicetree@...r.kernel.org, Rob Herring <robh+dt@...nel.org>,
Santosh Shilimkar <ssantosh@...nel.org>,
linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Leo Li <leoyang.li@....com>,
iommu@...ts.linux-foundation.org,
Kumar Gala <galak@...eaurora.org>,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: Re: [v15, 6/7] base: soc: introduce soc_device_match() interface
On Friday, October 28, 2016 2:50:17 PM CEST Yangbo Lu wrote:
> +
> +static int soc_device_match_one(struct device *dev, void *arg)
> +{
> + struct soc_device *soc_dev = container_of(dev, struct soc_device, dev);
> + const struct soc_device_attribute *match = arg;
> +
> + if (match->machine &&
> + !glob_match(match->machine, soc_dev->attr->machine))
> + return 0;
> +
> + if (match->family &&
> + !glob_match(match->family, soc_dev->attr->family))
> + return 0;
> +
>
Geert found a bug in my code, and submitted a fix at
https://patchwork.kernel.org/patch/9361395/
I think you should include that one in your series.
Arnd
Powered by blists - more mailing lists