diff options
Diffstat (limited to 'drivers/char/drm/drm_ioctl.c')
-rw-r--r-- | drivers/char/drm/drm_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_ioctl.c b/drivers/char/drm/drm_ioctl.c index d9be14624526..3cbebf868e68 100644 --- a/drivers/char/drm/drm_ioctl.c +++ b/drivers/char/drm/drm_ioctl.c | |||
@@ -272,7 +272,7 @@ int drm_getstats(struct drm_device *dev, void *data, | |||
272 | struct drm_stats *stats = data; | 272 | struct drm_stats *stats = data; |
273 | int i; | 273 | int i; |
274 | 274 | ||
275 | memset(stats, 0, sizeof(stats)); | 275 | memset(stats, 0, sizeof(*stats)); |
276 | 276 | ||
277 | mutex_lock(&dev->struct_mutex); | 277 | mutex_lock(&dev->struct_mutex); |
278 | 278 | ||