[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071128.175238.-1300543742.kouish@swc.toshiba.co.jp>
Date: Wed, 28 Nov 2007 17:52:38 +0900 (JST)
From: Ishizaki Kou <kou.ishizaki@...hiba.co.jp>
To: gorcunov@...il.com
Cc: linuxppc-dev@...abs.org, olof@...om.net, paulus@...ba.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PPC: CELLEB - fix potential NULL pointer dereference
> 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 <gorcunov@...il.com>
Thanks, I tested your patch and it works.
My original code supposes that the device-tree is provided correctly,
so I omited such checks. (Sorry, it should have been commented.)
Should we check more strictly like your patch?
Best regards,
Kou Ishizaki
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists