- fix-hid_device_id-for-cross-compiling.patch removed from -mm tree

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

 



The patch titled
     Fix hid_device_id for cross compiling
has been removed from the -mm tree.  Its filename was
     fix-hid_device_id-for-cross-compiling.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: Fix hid_device_id for cross compiling
From: Andreas Schwab <schwab@xxxxxxx>

struct hid_device_id contains hidden padding which is bad for cross
compiling.  It depends on the alignment restrictions of the architecture. 
On m68k everything is aligned on a 2-byte boundary, so this padding does
not exist.

Make the padding explicit and consistent across architectures.

Signed-off-by: Andreas Schwab <schwab@xxxxxxx>
Cc: Jiri Kosina <jkosina@xxxxxxx>
Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/mod_devicetable.h |    1 +
 1 file changed, 1 insertion(+)

diff -puN include/linux/mod_devicetable.h~fix-hid_device_id-for-cross-compiling include/linux/mod_devicetable.h
--- a/include/linux/mod_devicetable.h~fix-hid_device_id-for-cross-compiling
+++ a/include/linux/mod_devicetable.h
@@ -135,6 +135,7 @@ struct usb_device_id {
 
 struct hid_device_id {
 	__u16 bus;
+	__u16 pad1;
 	__u32 vendor;
 	__u32 product;
 	kernel_ulong_t driver_data
_

Patches currently in -mm which might be from schwab@xxxxxxx are


--
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