[U-Boot] [PATCH] gpio: Add PCA9698 40-bit I2C I/O port

Stefan Roese sr at denx.de
Tue Oct 18 16:23:07 CEST 2011


Hi Dirk,

On Tuesday 04 October 2011 11:13:51 eibach at gdsys.de wrote:
> From: Dirk Eibach <eibach at gdsys.de>

Checkpatch output:

ERROR: memset size is 3rd argument, not the second.
#239: FILE: drivers/gpio/pca9698.c:120:
+       memset(data, sizeof(data), 0);

total: 1 errors, 0 warnings, 139 lines checked

So, this now really is a good checkpatch feature. I wasn't ware, that it 
checked for such bugs as well. Nice. :)

Please fix and resubmit.

Thanks,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list