Signed-off-by: Tatyana Brokhman
---
drivers/usb/gadget/composite.c | 16
drivers/usb/gadget/dummy_hcd.c |2 +-
drivers/usb/gadget/f_fs.c |6 +++---
drivers/usb/gadget/f_mass_storage.c | 20 ++--
drivers/usb/gadget/file_storage.c
3.0-rc won't boot with SLUB on my PowerPC G5: kernel BUG at mm/slub.c:1950!
Bisected to 1759415e630e "slub: Remove CONFIG_CMPXCHG_LOCAL ifdeffery".
After giving myself a medal for finding the BUG on line 1950 of mm/slub.c
(it's actually the
VM_BUG_ON((unsigned long)(&pcp1) % (2 * sizeof(pc
when nand_get_flash_type() is called, it will read 8 bytes of ID instead of 5,
but the driver only read 5 bytes, so kernel will dump error messages like:
fsl-lbc ffe124000.localbus: read_byte beyond end of buffer
fsl-lbc ffe124000.localbus: read_byte beyond end of buffer
fsl-lbc ffe124000.localbus