The patch number 7991 was added via Mauro Carvalho Chehab <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Mauro Carvalho Chehab  <[EMAIL PROTECTED]>
fix compat.h


Thanks to e9hack <[EMAIL PROTECTED]> for pointing this issue.

Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>


---

 v4l/compat.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff -r ce81a6baadcc -r 1e71c0c79b3a v4l/compat.h
--- a/v4l/compat.h      Tue Jun 03 18:29:45 2008 -0300
+++ b/v4l/compat.h      Tue Jun 03 19:12:00 2008 -0300
@@ -534,13 +534,13 @@ do {                                                      
                \
 #define put_unaligned_le16(r, a)                               \
        put_unaligned(cpu_to_le16(r), ((unsigned short *)(a)))
 #define get_unaligned_be32(a)                                  \
-       be32_to_cpu(get_unaligned((unsigned short *)(a)))
+       be32_to_cpu(get_unaligned((u32 *)(a)))
 #define put_unaligned_be32(r, a)                               \
-       put_unaligned(cpu_to_be32(r), ((unsigned short *)(a)))
+       put_unaligned(cpu_to_be32(r), ((u32 *)(a)))
 #define get_unaligned_le32(a)                                  \
-       le32_to_cpu(get_unaligned((unsigned short *)(a)))
+       le32_to_cpu(get_unaligned((u32 *)(a)))
 #define put_unaligned_le32(r, a)                               \
-       put_unaligned(cpu_to_le32(r), ((unsigned short *)(a)))
+       put_unaligned(cpu_to_le32(r), ((u32 *)(a)))
 #endif
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25)
 #ifdef CONFIG_PROC_FS


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/1e71c0c79b3aca97bd4c98ac87a704b05a7fc0bc

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to