From: Jiri Pirko Date: Wed, 25 Feb 2015 13:55:53 +0000 Subject: Re: [patch 1/2] rocker: add a check for NULL in rocker_probe_ports() Message-Id: <20150225135553.GI2039@nanopsycho.orion> List-Id: References: <20150225133532.GU19745@mwanda> In-Reply-To: <20150225133532.GU19745@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Scott Feldman , netdev@vger.kernel.org, kernel-janitors@vger.kernel.org Wed, Feb 25, 2015 at 02:35:32PM CET, dan.carpenter@oracle.com wrote: >Make sure kmalloc() succeeds. Ough, nice catch. I see that the error path when rocker_probe_port fails is also broken - I will send follow-up fix. Thanks! > >Signed-off-by: Dan Carpenter Acked-by: Jiri Pirko