]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mailbox/omap: check iomem resource before dereferencing it
authorSuman Anna <s-anna@ti.com>
Sat, 2 Feb 2013 02:24:51 +0000 (20:24 -0600)
committerSuman Anna <s-anna@ti.com>
Thu, 14 Mar 2013 18:15:12 +0000 (13:15 -0500)
commit4fdca2e85cc10a1122fd5ef880ad395f3f4c210a
tree3ab62464a2ba6f344f146a45db1ec316f228353a
parent005ac52930d44ca9a8ec864c0463bfc36ef3ba0f
mailbox/omap: check iomem resource before dereferencing it

Add a NULL check for iomem resource in mailbox probe functions.

Signed-off-by: Fernando Guzman Lugo <lugo.fernando@gmail.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/mailbox/mailbox-omap1.c
drivers/mailbox/mailbox-omap2.c