[patch] drm/nouveau/disp: sizeof() wrong pointer

Paul Menzel paulepanter at users.sourceforge.net
Tue Jan 22 01:42:25 PST 2013


Dear Dan,


Am Dienstag, den 22.01.2013, 10:20 +0300 schrieb Dan Carpenter:
> "data" is a void pointer and "args" is "data" after we have casted it to
> a struct.  We care about the sizeof the struct here.  Btw, sizeof(*data)

s,sizeof the,size of the,

> is 1.

Did you find this by manual inspection or did you use some tool?

> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

[…]


With the typo fixed above,

Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130122/37c50172/attachment.pgp>


More information about the dri-devel mailing list