[kernel] r8051 - in dists/sid/linux-2.6/debian: .
patches/bugfix/sparc patches/series
Jurij Smakov
jurij-guest at alioth.debian.org
Fri Dec 29 03:11:04 UTC 2006
Author: jurij-guest
Date: Fri Dec 29 04:11:03 2006
New Revision: 8051
Added:
dists/sid/linux-2.6/debian/patches/bugfix/sparc/ehci-hub-contol-alignment.patch
Modified:
dists/sid/linux-2.6/debian/changelog
dists/sid/linux-2.6/debian/patches/series/9
Log:
Add bugfix/sparc/ehci-hub-contol-alignment.patch to prevent unaligned
memory accesses in ehci-hub-control() by adding an alignment attribute
to the tbuf array declaration. Thanks to David Miller for the patch.
Ref: http://lkml.org/lkml/2006/9/23/184
Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog (original)
+++ dists/sid/linux-2.6/debian/changelog Fri Dec 29 04:11:03 2006
@@ -89,6 +89,9 @@
PROM property. Failure to handle such devices properly resulted in an
oops during boot on Netra X1. Thanks to Richard Mortimer for debugging
and patch. (closes: #404216)
+ * Add bugfix/sparc/ehci-hub-contol-alignment.patch to prevent unaligned
+ memory accesses in ehci-hub-control() by adding an alignment attribute
+ to the tbuf array declaration. Thanks to David Miller for the patch.
-- maximilian attems <maks at sternwelten.at> Fri, 29 Dec 2006 00:33:09 +0100
Added: dists/sid/linux-2.6/debian/patches/bugfix/sparc/ehci-hub-contol-alignment.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/bugfix/sparc/ehci-hub-contol-alignment.patch Fri Dec 29 04:11:03 2006
@@ -0,0 +1,14 @@
+diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
+index fb4d058..7766d7b 100644
+--- a/drivers/usb/core/hcd.c
++++ b/drivers/usb/core/hcd.c
+@@ -344,7 +344,8 @@ static int rh_call_control (struct usb_h
+ struct usb_ctrlrequest *cmd;
+ u16 typeReq, wValue, wIndex, wLength;
+ u8 *ubuf = urb->transfer_buffer;
+- u8 tbuf [sizeof (struct usb_hub_descriptor)];
++ u8 tbuf [sizeof (struct usb_hub_descriptor)]
++ __attribute__((aligned(4)));
+ const u8 *bufp = tbuf;
+ int len = 0;
+ int patch_wakeup = 0;
Modified: dists/sid/linux-2.6/debian/patches/series/9
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/9 (original)
+++ dists/sid/linux-2.6/debian/patches/series/9 Fri Dec 29 04:11:03 2006
@@ -25,3 +25,4 @@
+ bugfix/2.6.16.36
+ bugfix/2.6.16.37
+ bugfix/sparc/isa-dev-no-reg.patch
++ bugfix/sparc/ehci-hub-contol-alignment.patch
More information about the Kernel-svn-changes
mailing list