From: David Daney <ddaney.cavm@gmail.com>
To: Qais Yousef <qais.yousef@imgtec.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH v2] mips/include/asm/mipsregs.h: include linux/types.h
Date: Mon, 09 Dec 2013 10:48:45 -0800 [thread overview]
Message-ID: <52A6108D.4010701@gmail.com> (raw)
In-Reply-To: <1386582585-20867-1-git-send-email-qais.yousef@imgtec.com>
On 12/09/2013 01:49 AM, Qais Yousef wrote:
> The file uses u16 type but doesn't include its definition explicitly
>
> I was getting this error when including this header in my driver:
>
> arch/mips/include/asm/mipsregs.h:644:33: error: unknown type name ‘u16’
>
> Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
> Reviewed-by: Steven J. Hill <Steven.Hill@imgtec.com>
Acked-by: David Daney <david.daney@cavium.com>
> ---
> changes since v1:
> - include linux/types.h instead of s/u16/unsigned short/
> - amend commit message accordingly
>
> arch/mips/include/asm/mipsregs.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/mips/include/asm/mipsregs.h b/arch/mips/include/asm/mipsregs.h
> index e033141..86479bb 100644
> --- a/arch/mips/include/asm/mipsregs.h
> +++ b/arch/mips/include/asm/mipsregs.h
> @@ -14,6 +14,7 @@
> #define _ASM_MIPSREGS_H
>
> #include <linux/linkage.h>
> +#include <linux/types.h>
> #include <asm/hazards.h>
> #include <asm/war.h>
>
>
next prev parent reply other threads:[~2013-12-09 18:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-09 9:49 [PATCH v2] mips/include/asm/mipsregs.h: include linux/types.h Qais Yousef
2013-12-09 9:49 ` Qais Yousef
2013-12-09 18:48 ` David Daney [this message]
2014-03-14 12:08 ` Qais Yousef
2014-03-14 13:20 ` Ralf Baechle
2014-03-20 11:06 ` Luís Henriques
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=52A6108D.4010701@gmail.com \
--to=ddaney.cavm@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=qais.yousef@imgtec.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox