From: swarren@wwwdotorg.org (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: arch_timer: include linux/errno.h to declare ENXIO
Date: Thu, 14 Feb 2013 10:39:40 -0700 [thread overview]
Message-ID: <511D215C.2040807@wwwdotorg.org> (raw)
In-Reply-To: <20130214121816.GA25537@e106331-lin.cambridge.arm.com>
On 02/14/2013 05:18 AM, Mark Rutland wrote:
> On Wed, Feb 13, 2013 at 06:05:46PM +0000, Stephen Warren wrote:
>> From: Stephen Warren <swarren@nvidia.com>
>>
>> This fixes:
>> arch/arm/kernel/arch_timer.c: In function ?arch_timer_sched_clock_init?:
>> arch/arm/kernel/arch_timer.c:55:11: error: ?ENXIO? undeclared (first use in this function)
..
> We should probably also add this to include/clocksource/arm_arch_timer.h and
> drivers/clocksource/arm_arch_timer.c, as they both use errno values (though
> currently these get included indirectly via a different path).
Ah yes, it should certainly be added to the header file then. Since both
those .c files include that header, I guess there isn't much need to add
it separately to the .c files though?
Do you want me to respin the patch, or will you just create one to add
the include to the header?
next prev parent reply other threads:[~2013-02-14 17:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 18:05 [PATCH] arm: arch_timer: include linux/errno.h to declare ENXIO Stephen Warren
2013-02-14 12:18 ` Mark Rutland
2013-02-14 17:39 ` Stephen Warren [this message]
2013-02-15 10:18 ` Mark Rutland
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=511D215C.2040807@wwwdotorg.org \
--to=swarren@wwwdotorg.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.