commit | af1ac18a19b80f922046fd383a3a3e780ee94915 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jan 23 11:27:56 2013 +0300 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Feb 20 16:00:54 2013 +1000 |
tree | e2ec7c6def1b7f315006e24b4d2745cdd7d0954a | |
parent | 264ce192b3e7f45d0adb37bfbab2b01a3fbe6c30 [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>