]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mailbox: check for NULL nb in mailbox_put
authorSuman Anna <s-anna@ti.com>
Sat, 2 Feb 2013 02:30:09 +0000 (20:30 -0600)
committerSuman Anna <s-anna@ti.com>
Thu, 14 Mar 2013 18:15:13 +0000 (13:15 -0500)
commit6275aa1ae16b73f0391f9be199af1c64845a62b1
treee156e15619e488ebb64a94c5be3cde559cdfd777
parent4fdca2e85cc10a1122fd5ef880ad395f3f4c210a
mailbox: check for NULL nb in mailbox_put

The mailbox_put function must check the notifier block for
NULL before trying to unregister it.

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