[PATCH] PPC: CELLEB - fix possible NULL pointer dereference

2007-11-29 Thread Ishizaki Kou
From: Cyrill Gorcunov <[EMAIL PROTECTED]> This patch adds checking for NULL returned value to prevent possible NULL pointer dereference. Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> --- Paul, This is a resend of a patch from Cyrill. I changed it to inline style. Cyrill, This works good o

Re: [PATCH] PPC: CELLEB - fix potential NULL pointer dereference

2007-11-28 Thread Ishizaki Kou
Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > On 11/28/07, Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > > On 11/28/07, Michael Ellerman <[EMAIL PROTECTED]> wrote: > > > On Mon, 2007-11-26 at 10:46 +0300, Cyrill Gorcunov wrote: > > > > This patch adds checking for NULL value returned to prevent possi

Re: [PATCH] PPC: CELLEB - fix potential NULL pointer dereference

2007-11-28 Thread Ishizaki Kou
> This patch adds checking for NULL value returned to prevent possible > NULL pointer dereference. > Also two unneeded 'return' are removed. > > Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> Thanks, I tested your patch and it works. My original code supposes that the device-tree is provided

Re: [Cbe-oss-dev] [patch 1/5] spu_manage: use newer physical-id

2007-08-29 Thread Ishizaki Kou
Christian Krafft wrote: > On Thu, 23 Aug 2007 18:12:19 +0200 > Arnd Bergmann <[EMAIL PROTECTED]> wrote: > > > On Thursday 23 August 2007, [EMAIL PROTECTED] wrote: > > > Please check "unit-id" if "physical-id" doesn't exist. Because Celleb > > > uses "unit-id" to provide spe_id. > > Sorry for the