[U-Boot] [PATCH 0/3] fix clang warnings about sizeof usage

Jeroen Hofstee jeroen at myspectrum.nl
Mon Jun 9 15:28:57 CEST 2014


The following patches prevent some warnings with clang in
case a struct/buffer is not properly cleared by incorrect
sizeof usage. For completeness, I have not tested it on hw!

Jeroen Hofstee (3):
  usb:g_dnl:f_thor: remove memset before memcpy
  usb:composite: clear the whole common buffer
  ext4: correctly zero filename

 drivers/usb/gadget/f_mass_storage.c | 4 ++--
 drivers/usb/gadget/f_thor.c         | 1 -
 fs/ext4/ext4_write.c                | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

-- 
1.8.3.2



More information about the U-Boot mailing list