[kernel] r16741 - in dists/trunk/linux-2.6/debian: . patches/bugfix/all patches/series

Ben Hutchings benh at alioth.debian.org
Tue Dec 28 04:21:39 UTC 2010


Author: benh
Date: Tue Dec 28 04:21:28 2010
New Revision: 16741

Log:
i2c-i801: Include <linux/slab.h> (fixes FTBFS on alpha)

Added:
   dists/trunk/linux-2.6/debian/patches/bugfix/all/i2c-i801-Include-linux-slab.h.patch
   dists/trunk/linux-2.6/debian/patches/series/1~experimental.2
Modified:
   dists/trunk/linux-2.6/debian/changelog

Modified: dists/trunk/linux-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-2.6/debian/changelog	Sun Dec 26 12:53:30 2010	(r16740)
+++ dists/trunk/linux-2.6/debian/changelog	Tue Dec 28 04:21:28 2010	(r16741)
@@ -1,3 +1,9 @@
+linux-2.6 (2.6.37~rc7-1~experimental.2) UNRELEASED; urgency=low
+
+  * i2c-i801: Include <linux/slab.h> (fixes FTBFS on alpha)
+
+ -- Ben Hutchings <ben at decadent.org.uk>  Tue, 28 Dec 2010 03:15:05 +0000
+
 linux-2.6 (2.6.37~rc7-1~experimental.1) experimental; urgency=low
   
   * New upstream release candidate

Added: dists/trunk/linux-2.6/debian/patches/bugfix/all/i2c-i801-Include-linux-slab.h.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/trunk/linux-2.6/debian/patches/bugfix/all/i2c-i801-Include-linux-slab.h.patch	Tue Dec 28 04:21:28 2010	(r16741)
@@ -0,0 +1,32 @@
+From: Ben Hutchings <ben at decadent.org.uk>
+Date: Mon, 13 Dec 2010 11:39:18 +1100
+Subject: [PATCH] i2c-i801: Include <linux/slab.h>
+
+commit 830e49925da933a9d9e4b0f86077066a368b47a1 upstream.
+
+Commit 5a0e3ad6af8660be21ca98a971cd00f331318c05 added direct inclusion
+of <linux/slab.h> to those source files that appeared to need it, but
+somehow missed this.  On most architectures <linux/slab.h> is still
+indirectly included, but there are exceptions such as alpha.
+
+Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
+Signed-off-by: Jean Delvare <khali at linux-fr.org>
+---
+ drivers/i2c/busses/i2c-i801.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
+index 02835ce..7979aef 100644
+--- a/drivers/i2c/busses/i2c-i801.c
++++ b/drivers/i2c/busses/i2c-i801.c
+@@ -72,6 +72,7 @@
+ #include <linux/acpi.h>
+ #include <linux/io.h>
+ #include <linux/dmi.h>
++#include <linux/slab.h>
+ 
+ /* I801 SMBus address offsets */
+ #define SMBHSTSTS(p)	(0 + (p)->smba)
+-- 
+1.7.2.3
+

Added: dists/trunk/linux-2.6/debian/patches/series/1~experimental.2
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/trunk/linux-2.6/debian/patches/series/1~experimental.2	Tue Dec 28 04:21:28 2010	(r16741)
@@ -0,0 +1 @@
++ bugfix/all/i2c-i801-Include-linux-slab.h.patch



More information about the Kernel-svn-changes mailing list