Re: [PATCH] spi: orion: fix potential NULL pointer de-reference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 21, 2014 at 03:57:48PM +1000, gerg@xxxxxxxxxxx wrote:
> From: Greg Ungerer <gerg@xxxxxxxxxxx>
> 
> It's possible that the call to of_match_device() (introduced in commit
> df59fa7f ["spi: orion: support armada extended baud rates"]) may return
> a NULL if there is no match in the device tree (or perhaps no device tree
> at all). Check the return pointer and set the local device data to the
> lowest common denominator orion device data if it is NULL.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux