bus: mvebu-mbus: potential forever loop in mvebu_mbus_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Nov 2013 07:50:24 +0000 (10:50 +0300)
committerJason Cooper <jason@lakedaemon.net>
Sun, 24 Nov 2013 13:03:00 +0000 (13:03 +0000)
commit7663cfd3f49f9e48e74fc2258b040d6828b20f0b
tree2f34e07f29d4aaebe0765202e16c6ca9b1929509
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
bus: mvebu-mbus: potential forever loop in mvebu_mbus_init()

"of_id->compatible" is an array and not a pointer so it can never be
NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/bus/mvebu-mbus.c