Re: [PATCH] drm/i915/bios: Avoid temporary allocation whilst searching for downclock

2011-07-13 Thread Keith Packard
On Tue, 5 Jul 2011 09:55:34 +0100, Chris Wilson wrote: > Alan Cox reported a missing check on the kmalloc return value for the > allocation of a temporary mode used for searching for the LVDS downlock > frequency. This allocation is roughly 200 bytes, a little too large to > friviously place on

[PATCH] drm/i915/bios: Avoid temporary allocation whilst searching for downclock

2011-07-13 Thread Keith Packard
On Tue, 5 Jul 2011 09:55:34 +0100, Chris Wilson wrote: > Alan Cox reported a missing check on the kmalloc return value for the > allocation of a temporary mode used for searching for the LVDS downlock > frequency. This allocation is roughly 200 bytes, a little too large to > friviously place on

[PATCH] drm/i915/bios: Avoid temporary allocation whilst searching for downclock

2011-07-05 Thread Chris Wilson
Alan Cox reported a missing check on the kmalloc return value for the allocation of a temporary mode used for searching for the LVDS downlock frequency. This allocation is roughly 200 bytes, a little too large to friviously place on the stack. However, we can simply use the few bytes we need stored

[PATCH] drm/i915/bios: Avoid temporary allocation whilst searching for downclock

2011-07-05 Thread Chris Wilson
Alan Cox reported a missing check on the kmalloc return value for the allocation of a temporary mode used for searching for the LVDS downlock frequency. This allocation is roughly 200 bytes, a little too large to friviously place on the stack. However, we can simply use the few bytes we need stored