Hello,

instead of adding or having the sequence of

malloc(), memset()

in all places where a definitely sane initialized structure
is required it would make more sense to introduce a single
function doing both. (The standard "calloc()" does not suit well
here.) Overall that should even slightly decrease code size.

Reinhard
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to