[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150127.122445.923392803091632565.davem@davemloft.net>
Date: Tue, 27 Jan 2015 12:24:45 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: andriy.shevchenko@...ux.intel.com
Cc: peppe.cavallaro@...com, netdev@...r.kernel.org
Subject: Re: [PATCH v1] stmmac: prevent probe drivers to crash kernel
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Date: Tue, 27 Jan 2015 18:38:03 +0200
> In the case when alloc_netdev fails we return NULL to a caller. But there is no
> check for NULL in the probe drivers. This patch changes NULL to an error
> pointer. The function description is amended to reflect what we may get
> returned.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists