From: Harvey Harrison <harvey.harrison@gmail.com>
To: Jaswinder Singh Rajput <jaswinderlinux@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Jesper Nilsson <jesper.nilsson@axis.com>,
LKML <linux-kernel@vger.kernel.org>,
Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [PATCH 1/2] cris: introduce asm/swab.h
Date: Sat, 24 Jan 2009 12:10:42 -0800 [thread overview]
Message-ID: <1232827843.5516.2.camel@brick> (raw)
In-Reply-To: <3f9a31f40901240410r44451621n3dfaf808dfa9b01d@mail.gmail.com>
On Sat, 2009-01-24 at 17:40 +0530, Jaswinder Singh Rajput wrote:
> On Wed, Jan 14, 2009 at 8:56 AM, Harvey Harrison
> <harvey.harrison@gmail.com> wrote:
> > Adjust the arch overrides to the new names as well.
> >
> > --- /dev/null
> > +++ b/arch/cris/include/arch-v10/arch/swab.h
> > @@ -0,0 +1,30 @@
> > +#ifndef _CRIS_ARCH_SWAB_H
> > +#define _CRIS_ARCH_SWAB_H
> > +
> > +#include <asm/types.h>
>
> Please replace #include <asm/types.h> with #include <linux/types.h>
> otherwise you will get following 'make headers_check' warnings:
> usr/include/asm/swab.h:4: include of <linux/types.h> is preferred
> over <asm/types.h>
> usr/include/asm/swab.h:14: found __[us]{8,16,32,64} type without
> #include <linux/types.h>
>
1) I sent this patch bypassing the arch maintainer, so I made it as
simple as possible, just moved the byteorder.h's and changed the
names of the arch-overrides.
2) If you'd care to check, this file is not exported to userspace, so
I can't possible trigger that warning.
3) It's already in Linus' tree, so it's a bit hard for me to change it
now ;-)
Harvey
prev parent reply other threads:[~2009-01-24 20:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 3:26 [PATCH 1/2] cris: introduce asm/swab.h Harvey Harrison
2009-01-14 3:31 ` Harvey Harrison
2009-01-24 12:10 ` Jaswinder Singh Rajput
2009-01-24 20:10 ` Harvey Harrison [this message]
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=1232827843.5516.2.camel@brick \
--to=harvey.harrison@gmail.com \
--cc=jaswinderlinux@gmail.com \
--cc=jesper.nilsson@axis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=torvalds@linux-foundation.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.