All of lore.kernel.org
 help / color / mirror / Atom feed
From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board
Date: Tue, 20 Jan 2015 10:29:19 +0000	[thread overview]
Message-ID: <20150120102919.GP5767@x1> (raw)
In-Reply-To: <87ppaah9k5.fsf@free.fr>

On Mon, 19 Jan 2015, Robert Jarzmik wrote:
> Lee Jones <lee.jones@linaro.org> writes:
> > On Fri, 16 Jan 2015, Robert Jarzmik wrote:

[...]

> >> +	res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
> >
> > platform_get_irq()?
> No. I need the flags.

Where are they used?

[...]

> >> +	if (ret) {
> >> +		dev_err(&pdev->dev, "Couldn't request main irq : ret = %d\n",
> >> +			ret);
> >
> > I'm not keen on this type of formatting.  Besides the system will
> > print out the returned error on failure.
> Well, it will print -EINVAL or -ENODEV. When I'll receive an request on the
> driver with -ENODEV, how will I know it will come from this request_irq() or
> another part of the code ... Well I can remove it if you want, but I think it's
> an error.

I'm not asking you to remove the entire message, just the junk at the
end.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Robert Jarzmik <robert.jarzmik-GANU6spQydw@public.gmane.org>
Cc: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Daniel Mack <daniel-cYrQPVfZoowdnm+yROfE0A@public.gmane.org>,
	Haojian Zhuang
	<haojian.zhuang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Samuel Ortiz <sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>,
	Dmitry Eremin-Solenikov
	<dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board
Date: Tue, 20 Jan 2015 10:29:19 +0000	[thread overview]
Message-ID: <20150120102919.GP5767@x1> (raw)
In-Reply-To: <87ppaah9k5.fsf-GANU6spQydw@public.gmane.org>

On Mon, 19 Jan 2015, Robert Jarzmik wrote:
> Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> writes:
> > On Fri, 16 Jan 2015, Robert Jarzmik wrote:

[...]

> >> +	res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
> >
> > platform_get_irq()?
> No. I need the flags.

Where are they used?

[...]

> >> +	if (ret) {
> >> +		dev_err(&pdev->dev, "Couldn't request main irq : ret = %d\n",
> >> +			ret);
> >
> > I'm not keen on this type of formatting.  Besides the system will
> > print out the returned error on failure.
> Well, it will print -EINVAL or -ENODEV. When I'll receive an request on the
> driver with -ENODEV, how will I know it will come from this request_irq() or
> another part of the code ... Well I can remove it if you want, but I think it's
> an error.

I'm not asking you to remove the entire message, just the junk at the
end.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Daniel Mack <daniel@zonque.org>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Arnd Bergmann <arnd@arndb.de>,
	Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board
Date: Tue, 20 Jan 2015 10:29:19 +0000	[thread overview]
Message-ID: <20150120102919.GP5767@x1> (raw)
In-Reply-To: <87ppaah9k5.fsf@free.fr>

On Mon, 19 Jan 2015, Robert Jarzmik wrote:
> Lee Jones <lee.jones@linaro.org> writes:
> > On Fri, 16 Jan 2015, Robert Jarzmik wrote:

[...]

> >> +	res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
> >
> > platform_get_irq()?
> No. I need the flags.

Where are they used?

[...]

> >> +	if (ret) {
> >> +		dev_err(&pdev->dev, "Couldn't request main irq : ret = %d\n",
> >> +			ret);
> >
> > I'm not keen on this type of formatting.  Besides the system will
> > print out the returned error on failure.
> Well, it will print -EINVAL or -ENODEV. When I'll receive an request on the
> driver with -ENODEV, how will I know it will come from this request_irq() or
> another part of the code ... Well I can remove it if you want, but I think it's
> an error.

I'm not asking you to remove the entire message, just the junk at the
end.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2015-01-20 10:29 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-16 11:00 [PATCH v3 1/3] dt-bindings: mfd: add lubbock-io binding Robert Jarzmik
2015-01-16 11:00 ` Robert Jarzmik
2015-01-16 11:00 ` [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board Robert Jarzmik
2015-01-16 11:00   ` Robert Jarzmik
2015-01-19  9:17   ` Lee Jones
2015-01-19  9:17     ` Lee Jones
2015-01-19  9:17     ` Lee Jones
2015-01-19 19:09     ` Robert Jarzmik
2015-01-19 19:09       ` Robert Jarzmik
2015-01-19 19:09       ` Robert Jarzmik
2015-01-20 10:29       ` Lee Jones [this message]
2015-01-20 10:29         ` Lee Jones
2015-01-20 10:29         ` Lee Jones
2015-01-20 11:56         ` Russell King - ARM Linux
2015-01-20 11:56           ` Russell King - ARM Linux
2015-01-21  7:46           ` Robert Jarzmik
2015-01-21  7:46             ` Robert Jarzmik
2015-01-21  7:46             ` Robert Jarzmik
2015-01-21  8:16             ` Lee Jones
2015-01-21  8:16               ` Lee Jones
2015-01-21  8:27               ` Robert Jarzmik
2015-01-21  8:27                 ` Robert Jarzmik
2015-01-21  8:27                 ` Robert Jarzmik
2015-01-21 12:35                 ` Lee Jones
2015-01-21 12:35                   ` Lee Jones
2015-01-21 12:35                   ` Lee Jones
2015-01-21 13:02                   ` Russell King - ARM Linux
2015-01-21 13:02                     ` Russell King - ARM Linux
2015-01-21 13:02                     ` Russell King - ARM Linux
2015-01-21 13:36                   ` robert.jarzmik at free.fr
2015-01-21 13:36                     ` robert.jarzmik
2015-01-21 13:36                     ` robert.jarzmik-GANU6spQydw
2015-01-21 15:10                     ` Lee Jones
2015-01-21 15:10                       ` Lee Jones
2015-01-21 19:22                       ` Robert Jarzmik
2015-01-21 19:22                         ` Robert Jarzmik
2015-01-21 19:22                         ` Robert Jarzmik
2015-01-21  9:47               ` Russell King - ARM Linux
2015-01-21  9:47                 ` Russell King - ARM Linux
2015-01-21  9:47                 ` Russell King - ARM Linux
2015-01-21  9:44             ` Russell King - ARM Linux
2015-01-21  9:44               ` Russell King - ARM Linux
2015-01-21 16:05               ` unclear ipv6 redirect message (was Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board) Joe Perches
2015-01-21 16:05                 ` Joe Perches
2015-01-21 16:11                 ` Russell King - ARM Linux
2015-01-21 16:11                   ` Russell King - ARM Linux
2015-01-21 16:11                   ` Russell King - ARM Linux
2015-01-21 16:40                   ` Joe Perches
2015-01-21 16:40                     ` Joe Perches
2015-01-21 16:46                     ` Russell King - ARM Linux
2015-01-21 16:46                       ` Russell King - ARM Linux
2015-01-16 11:00 ` [PATCH v3 3/3] ARM: pxa: lubbock: use new lubbock_io driver Robert Jarzmik
2015-01-16 11:00   ` Robert Jarzmik
2015-01-19  8:35 ` [PATCH v3 1/3] dt-bindings: mfd: add lubbock-io binding Lee Jones
2015-01-19  8:35   ` Lee Jones
2015-01-19 19:29   ` Robert Jarzmik
2015-01-19 19:29     ` Robert Jarzmik
2015-01-19 19:29     ` Robert Jarzmik
2015-01-20 10:18     ` Lee Jones
2015-01-20 10:18       ` Lee Jones

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=20150120102919.GP5767@x1 \
    --to=lee.jones@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.