[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160503.150350.37387977385971030.davem@davemloft.net>
Date: Tue, 03 May 2016 15:03:50 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sergei.shtylyov@...entembedded.com
Cc: netdev@...r.kernel.org, arnd@...db.de
Subject: Re: [PATCH] pxa168_eth: fix mdiobus_scan() error check
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Date: Sat, 30 Apr 2016 23:35:11 +0300
> Since mdiobus_scan() returns either an error code or NULL on error, the
> driver should check for both, not only for NULL, otherwise a crash is
> imminent...
>
> Reported-by: Arnd Bergmann <arnd@...db.de>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Applied.
Powered by blists - more mailing lists