[3.11.y.z extended stable] Patch "MIPS: include linux/types.h" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Thu Mar 20 13:26:35 UTC 2014


This is a note to let you know that I have just added a patch titled

    MIPS: include linux/types.h

to the linux-3.11.y-queue branch of the 3.11.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.11.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.11.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From 0745cea91df9effd64fc44cb36e925285352c5fc Mon Sep 17 00:00:00 2001
From: Qais Yousef <qais.yousef at imgtec.com>
Date: Mon, 9 Dec 2013 09:49:45 +0000
Subject: MIPS: include linux/types.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

commit 87c99203fea897fbdd84b681ad9fced2517dcf98 upstream.

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 at imgtec.com>
Reviewed-by: Steven J. Hill <Steven.Hill at imgtec.com>
Acked-by: David Daney <david.daney at cavium.com>
Signed-off-by: John Crispin <blogic at openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6212/
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
 arch/mips/include/asm/mipsregs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/include/asm/mipsregs.h b/arch/mips/include/asm/mipsregs.h
index fed1c3e..b3b61fb 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>

--
1.9.1





More information about the kernel-team mailing list