All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add types.h include to dasd.h
@ 2008-06-13 14:14 Edjunior Barbosa Machado
  0 siblings, 0 replies; 2+ messages in thread
From: Edjunior Barbosa Machado @ 2008-06-13 14:14 UTC (permalink / raw)
  To: linux-s390


dasd.h uses __u16 and __u8 types but doesn't include linux/types.h.
It fixes probable compiler errors if dasd.h is the first/unique included file.
Thanks.

Signed-off-by: Edjunior B. Machado <emachado@linux.vnet.ibm.com>
---
 include/asm-s390/dasd.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-s390/dasd.h b/include/asm-s390/dasd.h
index 3f002e1..d5a191a 100644
--- a/include/asm-s390/dasd.h
+++ b/include/asm-s390/dasd.h
@@ -13,6 +13,7 @@
 #ifndef DASD_H
 #define DASD_H
 #include <linux/ioctl.h>
+#include <linux/types.h>
 
 #define DASD_IOCTL_LETTER 'D'
 
-- 
Edjunior Barbosa Machado
IBM Linux Technology Center
Linux Defect Support Team

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] add types.h include to dasd.h
@ 2008-07-02 18:36 Edjunior Barbosa Machado
  0 siblings, 0 replies; 2+ messages in thread
From: Edjunior Barbosa Machado @ 2008-07-02 18:36 UTC (permalink / raw)
  To: trivial; +Cc: linux-kernel


dasd.h uses __u16 and __u8 types but doesn't include linux/types.h.
It fixes probable compiler errors if dasd.h is the first/unique included file.
Thanks.

Signed-off-by: Edjunior B. Machado <emachado@linux.vnet.ibm.com>
---
include/asm-s390/dasd.h |    1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-s390/dasd.h b/include/asm-s390/dasd.h
index 3f002e1..d5a191a 100644
--- a/include/asm-s390/dasd.h
+++ b/include/asm-s390/dasd.h
@@ -13,6 +13,7 @@
#ifndef DASD_H
#define DASD_H
#include <linux/ioctl.h>
+#include <linux/types.h>

#define DASD_IOCTL_LETTER 'D'

-- 
Edjunior Barbosa Machado
IBM Linux Technology Center
Linux Defect Support Team


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-02 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 14:14 [PATCH] add types.h include to dasd.h Edjunior Barbosa Machado
  -- strict thread matches above, loose matches on Subject: below --
2008-07-02 18:36 Edjunior Barbosa Machado

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.