[PATCH] ppc32: Fix string comparing in platform_notify_map
authorVitaly Bordug <vbordug@ru.mvista.com>
Mon, 3 Apr 2006 11:26:32 +0000 (15:26 +0400)
committerPaul Mackerras <paulus@samba.org>
Thu, 13 Apr 2006 16:30:19 +0000 (09:30 -0700)
commit132058f78a1bc8cce2c5a40245365938d51832fe
treef9bac73c83e10164a70e02c2360d3dd0815e5015
parent49c28e4e40be73019481f3c13a5966e0cc8f5a9d
[PATCH] ppc32: Fix string comparing in platform_notify_map

Fixed odd function behavior when dev->bus_id does not contain '.' - it
compared that case 0 characters of the string and hereby reported success and
executed callback. Now bus_id's are compared correctly, extra callback
triggering eliminated.

Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/syslib/ppc_sys.c