+ headers-include-linux-typesh-where-appropriate.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: headers: include linux/types.h where appropriate
has been added to the -mm tree.  Its filename is
     headers-include-linux-typesh-where-appropriate.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Bobby Powers <bobbypowers@xxxxxxxxx>
Subject: headers: include linux/types.h where appropriate

This addresses some header check warnings.  DRM headers which include
"drm.h" have been excluded, as they indirectly include types.h.

Signed-off-by: Bobby Powers <bobbypowers@xxxxxxxxx>
Cc: Chris Ball <cjb@xxxxxxxxxx>
Cc: Dave Airlie <airlied@xxxxxxxx>
Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
Cc: Takashi Iwai <tiwai@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/drm/drm_mode.h          |    2 ++
 include/linux/mmc/ioctl.h       |    3 +++
 include/scsi/scsi_netlink.h     |    2 +-
 include/sound/compress_params.h |    2 ++
 4 files changed, 8 insertions(+), 1 deletion(-)

diff -puN include/drm/drm_mode.h~headers-include-linux-typesh-where-appropriate include/drm/drm_mode.h
--- a/include/drm/drm_mode.h~headers-include-linux-typesh-where-appropriate
+++ a/include/drm/drm_mode.h
@@ -27,6 +27,8 @@
 #ifndef _DRM_MODE_H
 #define _DRM_MODE_H
 
+#include <linux/types.h>
+
 #define DRM_DISPLAY_INFO_LEN	32
 #define DRM_CONNECTOR_NAME_LEN	32
 #define DRM_DISPLAY_MODE_LEN	32
diff -puN include/linux/mmc/ioctl.h~headers-include-linux-typesh-where-appropriate include/linux/mmc/ioctl.h
--- a/include/linux/mmc/ioctl.h~headers-include-linux-typesh-where-appropriate
+++ a/include/linux/mmc/ioctl.h
@@ -1,5 +1,8 @@
 #ifndef LINUX_MMC_IOCTL_H
 #define LINUX_MMC_IOCTL_H
+
+#include <linux/types.h>
+
 struct mmc_ioc_cmd {
 	/* Implies direction of data.  true = write, false = read */
 	int write_flag;
diff -puN include/scsi/scsi_netlink.h~headers-include-linux-typesh-where-appropriate include/scsi/scsi_netlink.h
--- a/include/scsi/scsi_netlink.h~headers-include-linux-typesh-where-appropriate
+++ a/include/scsi/scsi_netlink.h
@@ -23,7 +23,7 @@
 #define SCSI_NETLINK_H
 
 #include <linux/netlink.h>
-
+#include <linux/types.h>
 
 /*
  * This file intended to be included by both kernel and user space
diff -puN include/sound/compress_params.h~headers-include-linux-typesh-where-appropriate include/sound/compress_params.h
--- a/include/sound/compress_params.h~headers-include-linux-typesh-where-appropriate
+++ a/include/sound/compress_params.h
@@ -51,6 +51,8 @@
 #ifndef __SND_COMPRESS_PARAMS_H
 #define __SND_COMPRESS_PARAMS_H
 
+#include <linux/types.h>
+
 /* AUDIO CODECS SUPPORTED */
 #define MAX_NUM_CODECS 32
 #define MAX_NUM_CODEC_DESCRIPTORS 32
_
Subject: Subject: headers: include linux/types.h where appropriate

Patches currently in -mm which might be from bobbypowers@xxxxxxxxx are

headers_check-recursively-search-for-linux-typesh-inclusion.patch
headers-include-linux-typesh-where-appropriate.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux