Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1244780

[tip:ras/core] x86/mce: Include linux/ioctl.h in uapi mce header

From tip-bot for Gabriel Laskar <tipbot@zytor.com>
Newsgroups linux.kernel
Subject [tip:ras/core] x86/mce: Include linux/ioctl.h in uapi mce header
Date 2015-10-12 16:40 +0200
Message-ID <qiMqD-1Ld-71@gated-at.bofh.it> (permalink)
References <qgBpD-hk-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit-ID:  7e0abcd6b7ec1452bf4a850fccbae44043c05806
Gitweb:     http://git.kernel.org/tip/7e0abcd6b7ec1452bf4a850fccbae44043c05806
Author:     Gabriel Laskar <gabriel@lse.epita.fr>
AuthorDate: Tue, 6 Oct 2015 16:27:35 +0200
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Sun, 11 Oct 2015 21:24:27 +0200

x86/mce: Include linux/ioctl.h in uapi mce header

asm/ioctls.h contains definition for termios, not just the _IO* macros.

This error was found with a tool in development used to generate
automated pretty-printing functions for ioctl decoding in strace.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1444141657-14898-2-git-send-email-gabriel@lse.epita.fr
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/x86/include/uapi/asm/mce.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/uapi/asm/mce.h b/arch/x86/include/uapi/asm/mce.h
index 76880ed..03429da 100644
--- a/arch/x86/include/uapi/asm/mce.h
+++ b/arch/x86/include/uapi/asm/mce.h
@@ -2,7 +2,7 @@
 #define _UAPI_ASM_X86_MCE_H
 
 #include <linux/types.h>
-#include <asm/ioctls.h>
+#include <linux/ioctl.h>
 
 /* Fields are zero when not available */
 struct mce {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/3] mce: change asm/ioctls.h for linux/ioctl.h Gabriel Laskar <gabriel@lse.epita.fr> - 2015-10-06 16:30 +0200
  [tip:ras/core] x86/mce: Include linux/ioctl.h in uapi mce header tip-bot for Gabriel Laskar <tipbot@zytor.com> - 2015-10-12 16:40 +0200

csiph-web