2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00
linux-next/include/linux/usb
Rabin Vincent 139540170d USB: ehci: remove structure packing from ehci_def
As pointed out by Arnd Bergmann, in include/linux/usb/ehci_def.h, struct
ehci_caps is defined with __attribute__((packed)) for no good reason,
and this triggers undefined behaviour when using ARM's readl() on
pointers to elements of this structure:

http://lkml.kernel.org/r/201102021700.20683.arnd@arndb.de

The same problem exists with the other two structures in ehci_def.h too,
so remove the __attribute__((packed)) from all of them.

Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-03 10:09:32 -07:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc.h CDC NCM errata updates for cdc.h 2011-02-08 13:54:42 -08:00
ch9.h usb/ch9: use proper endianess for wBytesPerInterval 2011-05-02 16:42:51 -07:00
ch11.h USB: Remove bogus USB_PORT_STAT_SUPER_SPEED symbol. 2011-03-13 18:23:50 -07:00
composite.h Fix common misspellings 2011-03-31 11:26:23 -03:00
ehci_def.h USB: ehci: remove structure packing from ehci_def 2011-05-03 10:09:32 -07:00
functionfs.h Fix common misspellings 2011-03-31 11:26:23 -03:00
g_hid.h
g_printer.h
gadget.h usb gadget: fix all Section mismatch warnings 2011-04-13 16:31:12 -07:00
gadgetfs.h
gpio_vbus.h
hcd.h usb: Make core allocate resources per PCI-device. 2011-03-13 18:23:06 -07:00
input.h
intel_mid_otg.h
iowarrior.h
irda.h
isp116x.h
isp1362.h
isp1760.h
Kbuild USB: gadget: export functionfs.h to the includes available for userspace 2011-02-04 11:57:21 -08:00
langwell_otg.h
langwell_udc.h
m66592.h
midi.h Fix common misspellings 2011-03-31 11:26:23 -03:00
msm_hsusb_hw.h USB: Fix trout build failure with ci13xxx_msm gadget 2011-02-04 12:38:14 -08:00
msm_hsusb.h USB: Rename "msm72k_otg.c" to "msm_otg.c" 2011-03-07 12:15:21 -08:00
musb.h Merge branch 'usb-next' into musb-merge 2010-12-16 10:05:06 -08:00
net2280.h
otg.h usb: factor out state_string() on otg drivers 2011-05-02 16:39:09 -07:00
quirks.h
r8a66597.h
renesas_usbhs.h usb: renesas_usbhs: use delayed_work instead of work_struct 2011-04-29 17:24:34 -07:00
rndis_host.h
serial.h Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6 2011-03-16 15:11:04 -07:00
sl811.h
storage.h
tmc.h
ulpi.h usb: otg: Add ulpi viewport access ops 2011-03-11 14:22:10 -08:00
usbnet.h usbnet: use eth%d name for known ethernet devices 2011-04-01 20:12:02 -07:00
video.h
wusb-wa.h
wusb.h Fix common misspellings 2011-03-31 11:26:23 -03:00