1
linux/drivers/staging
David Daney 166bdaa9aa Staging: Octeon Ethernet: Fix memory allocation.
After aligning the blocks returned by kmalloc, we need to save the original
pointer so they can be correctly freed.

There are no guarantees about the alignment of SKB data, so we need to
handle worst case alignment.

Since right shifts over subtraction have no distributive property, we need
to fix the back pointer calculation.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/884/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-02-27 12:53:07 +01:00
..
altpciechdma
arlan
asus_oled Staging: asus_oled: fix oops in 2.6.32.2 2010-01-20 15:05:25 -08:00
b3dfg
batman-adv Staging: batman-adv: introduce missing kfree 2009-12-23 11:27:50 -08:00
comedi Staging: comedi: jr3_pci: Don't ioremap too much space. Check result. 2009-12-23 11:27:46 -08:00
cx25821 V4L/DVB (13955): cx25821: fix double unlock in medusa_video_init() 2010-01-17 11:31:38 -02:00
dream
echo
et131x Staging: et131x: Fix 2.6.33rc1 regression in et131x 2010-01-20 15:05:26 -08:00
frontier
go7007 V4L/DVB: s2250: Fix write_reg i2c address 2010-02-26 15:10:45 -03:00
hv Staging: hv: fix smp problems in the hyperv core code 2010-01-20 15:05:26 -08:00
iio drop explicit include of autoconf.h 2009-12-12 13:08:15 +01:00
line6
mimio
netwave
octeon Staging: Octeon Ethernet: Fix memory allocation. 2010-02-27 12:53:07 +01:00
otus
p9auth
panel Staging: panel: Adjust range for PANEL_KEYPAD in Kconfig 2009-12-23 11:27:49 -08:00
phison
poch
pohmelfs pohmelfs needs I_LOCK 2009-12-22 12:27:33 -05:00
quatech_usb2
ramzswap Staging: ramzswap: remove ARM specific d-cache hack 2009-12-23 11:27:49 -08:00
rar
rt2860
rt2870
rt3070
rt3090
rtl8187se Staging: fix rtl8187se compilation errors with mac80211 2009-12-23 11:27:46 -08:00
rtl8192e Staging: rtl8192x: fix printk formats 2009-12-23 11:27:48 -08:00
rtl8192su staging: rtl8192su: add USB VID/PID for HWNUm-300 2009-12-23 11:27:47 -08:00
rtl8192u Staging: rtl8192x: fix printk formats 2009-12-23 11:27:48 -08:00
samsung-laptop
sep
serqt_usb2
slicoss
sm7xx Staging: sm7xx: add a new framebuffer driver 2009-12-23 11:27:44 -08:00
strip
udlfb
usbip
vme
vt6655 Staging/vt66*: kconfig, depends on WLAN 2009-12-23 11:27:50 -08:00
vt6656 Staging/vt66*: kconfig, depends on WLAN 2009-12-23 11:27:50 -08:00
wavelan
winbond
wlags49_h2
wlags49_h25
wlan-ng Staging: wlan-ng: fix Correct size given to memset 2009-12-23 11:27:48 -08:00
Kconfig Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2010-02-01 10:46:49 -08:00
Makefile Staging: dst: remove from the tree 2009-12-23 11:27:45 -08:00
staging.c