projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c153f45
)
i915: fix vbl swap allocation size.
author
Dave Airlie
<airlied@redhat.com>
Sun, 14 Oct 2007 11:21:30 +0000
(21:21 +1000)
committer
Dave Airlie
<airlied@optimus.(none)>
Mon, 15 Oct 2007 00:42:27 +0000
(10:42 +1000)
Oops...
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/i915_irq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/drm/i915_irq.c
b/drivers/char/drm/i915_irq.c
index 380c3f38721850d74e40b020547af1632eac5ee4..a443f4a202e3889c1a52adc43ac1d3020a9351e9 100644
(file)
--- a/
drivers/char/drm/i915_irq.c
+++ b/
drivers/char/drm/i915_irq.c
@@
-540,7
+540,7
@@
int i915_vblank_swap(struct drm_device *dev, void *data,
return -EBUSY;
}
- vbl_swap = drm_calloc(1, sizeof(vbl_swap), DRM_MEM_DRIVER);
+ vbl_swap = drm_calloc(1, sizeof(
*
vbl_swap), DRM_MEM_DRIVER);
if (!vbl_swap) {
DRM_ERROR("Failed to allocate memory to queue swap\n");