Re: 2.6.8-rc3-mm2

Johannes Stezenbach
2004-08-09T17:50:19Z

Andrew Morton wrote:
>
> boolean-typo-in-dvb.patch
> boolean typo in DVB

It would be nice if this patch would go into 2.6.8.

And, although the current DVB stuff compiles fine, for correctness
the following patch adds the necessary include for __user annotations.

Thanks,
Johannes

diff -ru linux-2.6.8-rc3.orig/include/linux/dvb/osd.h linux-2.6.8-rc3/include/linux/dvb/osd.h
--- linux-2.6.8-rc3.orig/include/linux/dvb/osd.h 2004-08-09 19:41:14.000000000 +0200
+++ linux-2.6.8-rc3/include/linux/dvb/osd.h 2004-08-09 19:41:55.000000000 +0200
@@ -24,6 +24,8 @@
#ifndef _DVBOSD_H_
#define _DVBOSD_H_

+#include <linux/compiler.h>
+
typedef enum {
// All functions return -2 on "not open"
OSD_Close=1, // ()
diff -ru linux-2.6.8-rc3.orig/include/linux/dvb/video.h linux-2.6.8-rc3/include/linux/dvb/video.h
--- linux-2.6.8-rc3.orig/include/linux/dvb/video.h 2004-08-09 19:41:14.000000000 +0200
+++ linux-2.6.8-rc3/include/linux/dvb/video.h 2004-08-09 19:42:07.000000000 +0200
@@ -24,6 +24,8 @@
#ifndef _DVBVIDEO_H_
#define _DVBVIDEO_H_

+#include <linux/compiler.h>
+
#ifdef __KERNEL__
#include <linux/types.h>
#else