From: Dan Carpenter Date: Wed, 23 Jan 2013 08:27:56 +0000 (+0300) Subject: drm/nouveau/disp: sizeof() wrong pointer X-Git-Tag: v3.9-rc1~83^2~10^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af1ac18a19b80f922046fd383a3a3e780ee94915;p=pandora-kernel.git drm/nouveau/disp: sizeof() wrong pointer "data" is a void pointer and "args" is "data" after we have casted it to a struct. We care about the size of the struct here. Btw, sizeof(*data) is 1. Signed-off-by: Dan Carpenter Signed-off-by: Marcin Slusarz Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed