On Monday, August 22, 2011 12:07:26 Marek Vasut wrote: > On Monday, August 22, 2011 06:02:26 PM Mike Frysinger wrote: > > On Monday, August 22, 2011 01:11:57 Ajay Bhargav wrote: > > > + darmdfec = malloc(sizeof(struct armdfec_device)); > > > > sizeof(*darmdfec) > > Why are you against sizeof(struct ...) ?
imo, it holds up against bit rot easier and the code is clearer -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot