[PATCH 4/4] video/imx: always initialize offscreenbuf member
Daniel Mierswa
impulze at impulze.org
Thu Jan 17 23:24:09 EST 2013
On 01/17/2013 06:55 PM, Sascha Hauer wrote:
> sc is initialized to 0 in do_splash:
>
> memset(&s, 0, sizeof(s));
> memset(&sc, 0, sizeof(sc));
> memset(&info, 0, sizeof(info));
>
> so sc.offscreenbuf = NULL is a no-op.
Oh bugger. My working copy didn't have the allocate commit
d179981b2ddace3dfbf79f828c592a970cd2f009.
Ignore this one then. :)
--
Mierswa, Daniel
If you still don't like it, that's ok: that's why I'm boss. I simply know better than you do.
--- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22
More information about the barebox
mailing list