[SPARC]: Fix bus_id[] string overflow.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 27 Oct 2006 08:03:31 +0000 (01:03 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 27 Oct 2006 08:03:31 +0000 (01:03 -0700)
commitf5ef9d11fd255b30b455d18f8d721bc44cd1296b
tree61a31b476ac98c05bf0210b169171aa6afb3e007
parente80391500078b524083ba51c3df01bbaaecc94bb
[SPARC]: Fix bus_id[] string overflow.

dp->path_component_name can be larger than ->bus_id[]
so use a different naming scheme for this stuff.

Noticed by Jurij Smakov.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ebus.c
arch/sparc/kernel/of_device.c
arch/sparc64/kernel/ebus.c
arch/sparc64/kernel/isa.c
arch/sparc64/kernel/of_device.c
drivers/sbus/sbus.c