Commits
![Aditya Pakki](https://secure.gravatar.com/avatar/3e53a37fe0319a8094a52b047678a0d7.jpg?s=96&d=mm)
Aditya Pakki committed b1e660c6f80
serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference commit 32f47179833b63de72427131169809065db6745e upstream. of_match_device on failure to find a matching device can return a NULL pointer. The patch checks for such a scenrio and passes the error upstream. Signed-off-by: Aditya Pakki <pakki001@umn.edu> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>