diff options
| -rw-r--r-- | drivers/firewire/core-device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firewire/core-device.c b/drivers/firewire/core-device.c index 150a8ba97488..f61211977d33 100644 --- a/drivers/firewire/core-device.c +++ b/drivers/firewire/core-device.c | |||
| @@ -514,6 +514,7 @@ static int read_bus_info_block(struct fw_device *device, int generation) | |||
| 514 | return -ENOMEM; | 514 | return -ENOMEM; |
| 515 | 515 | ||
| 516 | stack = &rom[READ_BIB_ROM_SIZE]; | 516 | stack = &rom[READ_BIB_ROM_SIZE]; |
| 517 | memset(rom, 0, sizeof(*rom) * READ_BIB_ROM_SIZE); | ||
| 517 | 518 | ||
| 518 | device->max_speed = SCODE_100; | 519 | device->max_speed = SCODE_100; |
| 519 | 520 | ||
