[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>
Showing
- arch/sparc/kernel/ebus.c 4 additions, 4 deletionsarch/sparc/kernel/ebus.c
- arch/sparc/kernel/of_device.c 1 addition, 1 deletionarch/sparc/kernel/of_device.c
- arch/sparc64/kernel/ebus.c 4 additions, 4 deletionsarch/sparc64/kernel/ebus.c
- arch/sparc64/kernel/isa.c 4 additions, 4 deletionsarch/sparc64/kernel/isa.c
- arch/sparc64/kernel/of_device.c 1 addition, 1 deletionarch/sparc64/kernel/of_device.c
- drivers/sbus/sbus.c 2 additions, 2 deletionsdrivers/sbus/sbus.c
Loading
Please register or sign in to comment