Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275015
b: refs/heads/master
c: d982640
h: refs/heads/master
i:
  275013: e1a7ff4
  275011: 100ed4c
  275007: f76b289
v: v3
  • Loading branch information
Jakob Bornecrantz authored and Dave Airlie committed Nov 7, 2011
1 parent 2ff780b commit f146c1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da7653d6a0dcf7c3a173c87df144735e61a86c1e
refs/heads/master: d982640914d74054d22508ccebeeda70ce5933e1
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ static struct drm_framebuffer *vmw_kms_fb_create(struct drm_device *dev,
required_size = mode_cmd->pitch * mode_cmd->height;
if (unlikely(required_size > (u64) dev_priv->vram_size)) {
DRM_ERROR("VRAM size is too small for requested mode.\n");
return NULL;
return ERR_PTR(-ENOMEM);
}

/*
Expand Down

0 comments on commit f146c1c

Please sign in to comment.