On Mon, Sep 12, 2011 at 08:59:18PM -0400, Kevin McKinney wrote: > In the first alteration, the MAX_CNTL_PKT_SIZE is the > maximum size of the control packet in ->Adapter->txctlpacket[] > which is defined in InitAdapter(). This caps the size of > kmalloc memory allocation. In the second change, this max > cap fixes a potential memory corruption bug when subsequent > memset and memcpy calls are invoked. > > Signed-off-by: Kevin McKinney <klmckinney1@xxxxxxxxx> > --- > drivers/staging/bcm/Bcmchar.c | 3 +++ > drivers/staging/bcm/Misc.c | 4 ++++ > 2 files changed, 7 insertions(+), 0 deletions(-) > delete mode 100644 arch/arm/mach-lpc32xx/include/mach/gpio.h > > diff --git a/arch/arm/mach-lpc32xx/include/mach/gpio.h b/arch/arm/mach-lpc32xx/include/mach/gpio.h > deleted file mode 100644 > index e69de29..0000000 Your diffstat above doesn't match this line, so I really can't trust this patch at all. And it doesn't make sense, care to redo these 2 so they do make sense? thanks, greg k-h _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel