device/device_util.c: Add space after ellipse for better legibility
Currently the coreboot console log contains messages in the following form. Show all devs...Before device enumeration. […] Show all devs...After init. Add a space after the ellipse, so it’s better readable and it does not look like a newline is missing. Show all devs... Before device enumeration. […] Show all devs... After init. Change-Id: Ifa2a37b8d60c433c219df7533a79fced03b6271a Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: http://review.coreboot.org/8424 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
e77e37b957
commit
eb605d72b2
|
@ -818,7 +818,7 @@ void show_devs_tree(struct device *dev, int debug_level, int depth, int linknum)
|
||||||
void show_all_devs_tree(int debug_level, const char *msg)
|
void show_all_devs_tree(int debug_level, const char *msg)
|
||||||
{
|
{
|
||||||
/* Bail if not printing to screen. */
|
/* Bail if not printing to screen. */
|
||||||
if (!do_printk(debug_level, "Show all devs in tree form...%s\n", msg))
|
if (!do_printk(debug_level, "Show all devs in tree form... %s\n", msg))
|
||||||
return;
|
return;
|
||||||
show_devs_tree(all_devices, debug_level, 0, -1);
|
show_devs_tree(all_devices, debug_level, 0, -1);
|
||||||
}
|
}
|
||||||
|
@ -826,7 +826,7 @@ void show_all_devs_tree(int debug_level, const char *msg)
|
||||||
void show_devs_subtree(struct device *root, int debug_level, const char *msg)
|
void show_devs_subtree(struct device *root, int debug_level, const char *msg)
|
||||||
{
|
{
|
||||||
/* Bail if not printing to screen. */
|
/* Bail if not printing to screen. */
|
||||||
if (!do_printk(debug_level, "Show all devs in subtree %s...%s\n",
|
if (!do_printk(debug_level, "Show all devs in subtree %s... %s\n",
|
||||||
dev_path(root), msg))
|
dev_path(root), msg))
|
||||||
return;
|
return;
|
||||||
do_printk(debug_level, "%s\n", msg);
|
do_printk(debug_level, "%s\n", msg);
|
||||||
|
@ -838,7 +838,7 @@ void show_all_devs(int debug_level, const char *msg)
|
||||||
struct device *dev;
|
struct device *dev;
|
||||||
|
|
||||||
/* Bail if not printing to screen. */
|
/* Bail if not printing to screen. */
|
||||||
if (!do_printk(debug_level, "Show all devs...%s\n", msg))
|
if (!do_printk(debug_level, "Show all devs... %s\n", msg))
|
||||||
return;
|
return;
|
||||||
for (dev = all_devices; dev; dev = dev->next) {
|
for (dev = all_devices; dev; dev = dev->next) {
|
||||||
do_printk(debug_level, "%s: enabled %d\n",
|
do_printk(debug_level, "%s: enabled %d\n",
|
||||||
|
@ -878,7 +878,7 @@ void show_all_devs_resources(int debug_level, const char* msg)
|
||||||
{
|
{
|
||||||
struct device *dev;
|
struct device *dev;
|
||||||
|
|
||||||
if (!do_printk(debug_level, "Show all devs with resources...%s\n", msg))
|
if (!do_printk(debug_level, "Show all devs with resources... %s\n", msg))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (dev = all_devices; dev; dev = dev->next) {
|
for (dev = all_devices; dev; dev = dev->next) {
|
||||||
|
|
Loading…
Reference in New Issue