All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linuxppc-dev@lists.ozlabs.org
Cc: Yangbo Lu <yangbo.lu@nxp.com>,
	linux-mmc@vger.kernel.org, ulf.hansson@linaro.org,
	Scott Wood <oss@buserror.net>,
	Mark Rutland <mark.rutland@arm.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Xiaobo Xie <xiaobo.xie@nxp.com>,
	Minghuan Lian <minghuan.lian@nxp.com>,
	linux-i2c@vger.kernel.org, linux-clk@vger.kernel.org,
	Qiang Zhao <qiang.zhao@nxp.com>,
	Russell King <linux@arm.linux.org.uk>,
	Bhupesh Sharma <bhupesh.sharma@freescale.com>,
	Joerg Roedel <joro@8bytes.org>,
	Claudiu Manoil <claudiu.manoil@freescale.com>,
	devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, Leo Li <leoyang.li@nxp.com>,
	iommu@lists.linux-foundation.org,
	Kumar Gala <galak@codeaurora.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: Re: [v15, 6/7] base: soc: introduce soc_device_match() interface
Date: Fri, 28 Oct 2016 12:47:54 +0200	[thread overview]
Message-ID: <2572890.e6aV4hmMEL@wuerfel> (raw)
In-Reply-To: <1477637418-38938-7-git-send-email-yangbo.lu@nxp.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
To: linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	Geert Uytterhoeven
	<geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Minghuan Lian <minghuan.lian-3arQi8VN3Tc@public.gmane.org>,
	netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Qiang Zhao <qiang.zhao-3arQi8VN3Tc@public.gmane.org>,
	Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
	Bhupesh Sharma
	<bhupesh.sharma-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	Claudiu Manoil
	<claudiu.manoil-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Scott Wood <oss-fOR+EgIDQEHk1uMJSBkQmQ@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Santosh Shilimkar
	<ssantosh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Greg Kroah-Hartman
	<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
	linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Xiaobo Xie <xiaobo.xie-3arQi8VN3Tc@public.gmane.org>,
	Leo Li <leoyang.li-3arQi8VN3Tc@public.gmane.org>,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	Yangbo Lu <yangbo.lu-3arQi8VN3Tc@public.gmane.org>
Subject: Re: [v15, 6/7] base: soc: introduce soc_device_match() interface
Date: Fri, 28 Oct 2016 12:47:54 +0200	[thread overview]
Message-ID: <2572890.e6aV4hmMEL@wuerfel> (raw)
In-Reply-To: <1477637418-38938-7-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org>

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

WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [v15, 6/7] base: soc: introduce soc_device_match() interface
Date: Fri, 28 Oct 2016 12:47:54 +0200	[thread overview]
Message-ID: <2572890.e6aV4hmMEL@wuerfel> (raw)
In-Reply-To: <1477637418-38938-7-git-send-email-yangbo.lu@nxp.com>

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

  reply	other threads:[~2016-10-28 10:48 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-28  6:50 [v15, 0/7] Fix eSDHC host version register bug Yangbo Lu
2016-10-28  6:50 ` Yangbo Lu
2016-10-28  6:50 ` Yangbo Lu
2016-10-28  6:50 ` Yangbo Lu
2016-10-28  6:50 ` [v15, 1/7] ARM64: dts: ls2080a: add device configuration node Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50 ` [v15, 2/7] dt: bindings: move guts devicetree doc out of powerpc directory Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50 ` [v15, 3/7] powerpc/fsl: move mpc85xx.h to include/linux/fsl Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28 10:52   ` Arnd Bergmann
2016-10-28 10:52     ` Arnd Bergmann
2016-10-28 10:52     ` Arnd Bergmann
2016-10-31  9:35     ` Y.B. Lu
2016-10-31  9:35       ` Y.B. Lu
2016-10-31  9:35       ` Y.B. Lu
2016-10-31  9:35       ` Y.B. Lu
2016-10-31  9:35       ` Y.B. Lu
2016-10-31  9:35       ` Y.B. Lu
2016-11-07 21:20       ` Arnd Bergmann
2016-11-07 21:20         ` Arnd Bergmann
2016-11-07 21:20         ` Arnd Bergmann
2016-11-07 21:20         ` Arnd Bergmann
2016-11-07 21:20         ` Arnd Bergmann
2016-11-08  6:49         ` Y.B. Lu
2016-11-08  6:49           ` Y.B. Lu
2016-11-08  6:49           ` Y.B. Lu
2016-11-08  6:49           ` Y.B. Lu
2016-11-08  6:49           ` Y.B. Lu
2016-11-08 15:47           ` Arnd Bergmann
2016-11-08 15:47             ` Arnd Bergmann
2016-11-08 15:47             ` Arnd Bergmann
2016-11-08 15:47             ` Arnd Bergmann
2016-11-08 15:47             ` Arnd Bergmann
2016-10-28  6:50 ` [v15, 4/7] soc: fsl: add GUTS driver for QorIQ platforms Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50 ` [v15, 5/7] MAINTAINERS: add entry for Freescale SoC drivers Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50 ` [v15, 6/7] base: soc: introduce soc_device_match() interface Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28 10:47   ` Arnd Bergmann [this message]
2016-10-28 10:47     ` Arnd Bergmann
2016-10-28 10:47     ` Arnd Bergmann
2016-10-31  9:28     ` Y.B. Lu
2016-10-31  9:28       ` Y.B. Lu
2016-10-31  9:28       ` Y.B. Lu
2016-10-31  9:28       ` Y.B. Lu
2016-10-31  9:28       ` Y.B. Lu
2016-10-31  9:28       ` Y.B. Lu
2016-10-28  6:50 ` [v15, 7/7] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0 Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28  6:50   ` Yangbo Lu
2016-10-28 10:53 ` [v15, 0/7] Fix eSDHC host version register bug Arnd Bergmann
2016-10-28 10:53   ` Arnd Bergmann
2016-10-28 10:53   ` Arnd Bergmann
2016-10-31  9:36   ` Y.B. Lu
2016-10-31  9:36     ` Y.B. Lu
2016-10-31  9:36     ` Y.B. Lu
2016-10-31  9:36     ` Y.B. Lu
2016-10-31  9:36     ` Y.B. Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2572890.e6aV4hmMEL@wuerfel \
    --to=arnd@arndb.de \
    --cc=bhupesh.sharma@freescale.com \
    --cc=claudiu.manoil@freescale.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=geert+renesas@glider.be \
    --cc=gregkh@linuxfoundation.org \
    --cc=iommu@lists.linux-foundation.org \
    --cc=joro@8bytes.org \
    --cc=leoyang.li@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mark.rutland@arm.com \
    --cc=minghuan.lian@nxp.com \
    --cc=netdev@vger.kernel.org \
    --cc=oss@buserror.net \
    --cc=qiang.zhao@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=ssantosh@kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=xiaobo.xie@nxp.com \
    --cc=yangbo.lu@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.