diff options
author | 2013-01-23 11:27:56 +0300 | |
---|---|---|
committer | 2013-02-20 16:00:54 +1000 | |
commit | af1ac18a19b80f922046fd383a3a3e780ee94915 (patch) | |
tree | e2ec7c6def1b7f315006e24b4d2745cdd7d0954a /lib/spinlock_debug.c | |
parent | drm/nv84-/fence: prepare for emit/sync support of sysram sequences (diff) | |
download | linux-dev-af1ac18a19b80f922046fd383a3a3e780ee94915.tar.xz linux-dev-af1ac18a19b80f922046fd383a3a3e780ee94915.zip |
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>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions