[Arm-netbook] solved: a20 usb-otg allwinner 3.3 kernel bug
luke.leighton
luke.leighton at gmail.com
Sun Jun 2 17:20:40 BST 2013
someone added aRevision and aDate, decided to subtract their sizes
from aInfo even though aInfo has nothing to do with aRevision or
aDate! oops
index 3d18805..9ad3708 100644
--- a/drivers/usb/sun7i_usb/hcd/hcd0/sw_hcd0.c
+++ b/drivers/usb/sun7i_usb/hcd/hcd0/sw_hcd0.c
@@ -989,7 +989,7 @@ static int sw_hcd_core_init(u16 sw_hcd_type,
struct sw_hcd *sw_hcd)
{
u8 reg = 0;
char *type = NULL;
- char aInfo[78];
+ char aInfo[128];
char aRevision[32];
char aDate[12];
void __iomem *usbc_base = sw_hcd->mregs;
More information about the arm-netbook
mailing list