lkml.org 
[lkml]   [2008]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -tip/master] x86: io-apic - restore_IO_APIC_setup NULL pointer quick fix

* Cyrill Gorcunov <gorcunov@gmail.com> wrote:

> Check if memory was granted first - we don't like NULL deref.
> It's a *quick* fix. Actually it's better to hadle this error
> at moment of memory allocation. It's save_mask_IO_APIC_setup
> route who allocates this memory (just for the record).
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
> ---
>
> I'll handle this in _normal_ way tomorrow. Please review.

ok, i've applied the quick fix to tip/master - the patch will drop from
there on the next integration run.

Ingo


\
 
 \ /
  Last update: 2008-09-19 10:09    [W:1.037 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site