drm/nouveau: sizeof() vs ARRAY_SIZE()
authorDan Carpenter <error27@gmail.com>
Mon, 20 Dec 2010 09:26:26 +0000 (12:26 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 21 Dec 2010 01:53:32 +0000 (11:53 +1000)
commitd095e23206e6291cbde4b2937d1316a42d9e6440
tree023278fe2a7c24fc602e09d96e72bd28f973045f
parentb08ebe7e776e5be0271ed1e1bbb384e1f29dd117
drm/nouveau: sizeof() vs ARRAY_SIZE()

ARRAY_SIZE() was intended here, sizeof() is too large.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_vram.c