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. BUG=None BRANCH=none TEST=Boot coreboot in foundation model 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>
This commit is contained in:
parent
25fd2e9798
commit
57510d553c
1 changed files with 1 additions and 1 deletions
|
|
@ -768,7 +768,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue