On Tue, Sep 18, 2012 at 02:18:48PM +0530, Sachin Kamat wrote: > of_match_node() returns NULL if a device_node does not have > a matching of_match structure. Thus the return value needs to be > checked for NULL to avoid NULL pointer dereferencing. I am missing how the driver can be matched to the device if there is no fitting device node? -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
Attachment:
signature.asc
Description: Digital signature