diff options
author | Marcelo Povoa <marcelogp@chromium.org> | 2014-02-14 15:42:49 -0800 |
---|---|---|
committer | Isaac Christensen <isaac.christensen@se-eng.com> | 2014-09-29 19:26:49 +0200 |
commit | 8404dca5a6c20f7b0e947011d9a185e6060ad157 (patch) | |
tree | 234cdf81463e993d40f82b4dbc940948f2bedc46 /src/device | |
parent | be1d1e7f838e09e67b8cc0e84cd842f4cf71f9ae (diff) |
Remove stale char[] initialization causing unaligned memory access
This throws an alignment fault when run in ARMv8 Foundation
model and seems unnecessary, so remove it.
Change-Id: I2e3aa54502c292958ba44ff4e2e71c27653f2e1a
Signed-off-by: Marcelo Povoa <marcelogp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/186744
Reviewed-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit 57510d553c56ca5dfb4765836ddb901744e29e20)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6974
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/device_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c index 4526c48f5f..d5466cb011 100644 --- a/src/device/device_util.c +++ b/src/device/device_util.c @@ -796,7 +796,7 @@ void print_resource_tree(struct device *root, int debug_level, const char *msg) void show_devs_tree(struct device *dev, int debug_level, int depth, int linknum) { - char depth_str[20] = ""; + char depth_str[20]; int i; struct device *sibling; struct bus *link; |