mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jaswinder Singh Rajput <jaswinderlinux@gmail.com>
To: Harvey Harrison <harvey.harrison@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 17:40:14 +0530	[thread overview]
Message-ID: <3f9a31f40901240410r44451621n3dfaf808dfa9b01d@mail.gmail.com> (raw)
In-Reply-To: <1231903597.5756.4.camel@brick>

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.
>
> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
> ---
> Jesper, I noticed that my patch was the only one for CRIS this merge
> window (at least looking at linux-next), I hope you're OK with me
> sending this directly to Linus.  It's just code movement, so I'm
> confident it's not going to break anything.
>
>  arch/cris/include/arch-v10/arch/byteorder.h |   26 -----------------------
>  arch/cris/include/arch-v10/arch/swab.h      |   30 +++++++++++++++++++++++++++
>  arch/cris/include/arch-v32/arch/byteorder.h |   20 ------------------
>  arch/cris/include/arch-v32/arch/swab.h      |   24 +++++++++++++++++++++
>  arch/cris/include/asm/Kbuild                |    1 +
>  arch/cris/include/asm/byteorder.h           |   20 +-----------------
>  arch/cris/include/asm/swab.h                |    8 +++++++
>  7 files changed, 64 insertions(+), 65 deletions(-)
>
> diff --git a/arch/cris/include/arch-v10/arch/swab.h b/arch/cris/include/arch-v10/arch/swab.h
> new file mode 100644
> index 0000000..e4e847d
> --- /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>

> diff --git a/arch/cris/include/arch-v32/arch/swab.h b/arch/cris/include/arch-v32/arch/swab.h
> new file mode 100644
> index 0000000..1152329
> --- /dev/null
> +++ b/arch/cris/include/arch-v32/arch/swab.h
> @@ -0,0 +1,24 @@
> +#ifndef _ASM_CRIS_ARCH_SWAB_H
> +#define _ASM_CRIS_ARCH_SWAB_H
> +
> +#include <asm/types.h>

ditto.

If possible, please also fix your other patches which are in queue.

--
JSR

  parent reply	other threads:[~2009-01-24 12:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14  3:26 Harvey Harrison
2009-01-14  3:31 ` Harvey Harrison
2009-01-24 12:10 ` Jaswinder Singh Rajput [this message]
2009-01-24 20:10   ` Harvey Harrison

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=3f9a31f40901240410r44451621n3dfaf808dfa9b01d@mail.gmail.com \
    --to=jaswinderlinux@gmail.com \
    --cc=harvey.harrison@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®