spi_fpga_init: fix slab corruption bug
author黄涛 <huangtao@rock-chips.com>
Tue, 12 Oct 2010 09:52:55 +0000 (17:52 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 12 Oct 2010 09:52:55 +0000 (17:52 +0800)
commitcf60841e0249936ff12189f27d368d5e447e46eb
tree1958b9c3a2c3d005921f409c7f646c559d407217
parent1a48e7059e47f3bcda5f89ed706499e781c30314
spi_fpga_init: fix slab corruption bug

fix this bug:
[   74.920000] bt turn on power
bcm4329
patch_plus -d /etc/bluez/bcm4325/BCM4329B1_TestOnly_0237_26MHz_SEMCO_B23.hcd /dev/ttySPI0 bcm4325 1500000
speed of uart to :1500000
[   75.330000] uart->index=0
[   75.330000] baud=115200,quot=0x34
[   75.340000] baud=115200,quot=0x34
[   75.340000] Slab corruption: size-32 start=cc3b3660, len=32
[   75.340000] 010: 6b 6b 6b 6b b4 36 3b cc 6b 6b 6b 6b 6b 6b 6b a5
[   75.370000] Prev obj: start=cc3b3640, len=32
[   75.370000] 000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
[   75.370000] 010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b a5
[   75.370000] Next obj: start=cc3b3680, len=32
[   75.370000] 000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
[   75.370000] 010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b a5
drivers/fpga/spi_fpga_init.c