mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] cosmetic: remove right alignment on driver list
@ 2012-10-14 11:34 Franck Jullien
  2012-10-14 11:36 ` Franck Jullien
  0 siblings, 1 reply; 4+ messages in thread
From: Franck Jullien @ 2012-10-14 11:34 UTC (permalink / raw)
  To: barebox

From: franck <franck@franck-M1110M.(none)>

In order to avoid misalignment, just remove the right alignment while printing the drivers list.
---
 drivers/base/driver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 64fe289..0879cd0 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -403,7 +403,7 @@ static int do_devinfo(int argc, char *argv[])
 
 		printf("\ndrivers:\n");
 		for_each_driver(drv)
-			printf("%10s\n",drv->name);
+			printf("%s\n",drv->name);
 	} else {
 		dev = get_device_by_name(argv[1]);
 
-- 
1.7.5.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] cosmetic: remove right alignment on driver list
  2012-10-14 11:34 [PATCH] cosmetic: remove right alignment on driver list Franck Jullien
@ 2012-10-14 11:36 ` Franck Jullien
  0 siblings, 0 replies; 4+ messages in thread
From: Franck Jullien @ 2012-10-14 11:36 UTC (permalink / raw)
  To: barebox

2012/10/14 Franck Jullien <franck.jullien@gmail.com>:
> From: franck <franck@franck-M1110M.(none)>

????

Forget this email, I'll resend this patch (I also forgot to add my signoff).

>
> In order to avoid misalignment, just remove the right alignment while printing the drivers list.
> ---
>  drivers/base/driver.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/base/driver.c b/drivers/base/driver.c
> index 64fe289..0879cd0 100644
> --- a/drivers/base/driver.c
> +++ b/drivers/base/driver.c
> @@ -403,7 +403,7 @@ static int do_devinfo(int argc, char *argv[])
>
>                 printf("\ndrivers:\n");
>                 for_each_driver(drv)
> -                       printf("%10s\n",drv->name);
> +                       printf("%s\n",drv->name);
>         } else {
>                 dev = get_device_by_name(argv[1]);
>
> --
> 1.7.5.4
>

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] cosmetic: remove right alignment on driver list
  2012-10-16 19:58 Franck Jullien
@ 2012-10-16 21:48 ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2012-10-16 21:48 UTC (permalink / raw)
  To: Franck Jullien; +Cc: barebox

On Tue, Oct 16, 2012 at 09:58:11PM +0200, Franck Jullien wrote:
> In order to avoid misalignment, just remove the right alignment while
> printing the drivers list.
> 
> Signed-off-by: Franck Jullien <franck.jullien@gmail.com>

Applied, thanks

Sascha

> ---
>  drivers/base/driver.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/base/driver.c b/drivers/base/driver.c
> index 64fe289..0879cd0 100644
> --- a/drivers/base/driver.c
> +++ b/drivers/base/driver.c
> @@ -403,7 +403,7 @@ static int do_devinfo(int argc, char *argv[])
>  
>  		printf("\ndrivers:\n");
>  		for_each_driver(drv)
> -			printf("%10s\n",drv->name);
> +			printf("%s\n",drv->name);
>  	} else {
>  		dev = get_device_by_name(argv[1]);
>  
> -- 
> 1.7.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] cosmetic: remove right alignment on driver list
@ 2012-10-16 19:58 Franck Jullien
  2012-10-16 21:48 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Franck Jullien @ 2012-10-16 19:58 UTC (permalink / raw)
  To: barebox

In order to avoid misalignment, just remove the right alignment while
printing the drivers list.

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
---
 drivers/base/driver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 64fe289..0879cd0 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -403,7 +403,7 @@ static int do_devinfo(int argc, char *argv[])
 
 		printf("\ndrivers:\n");
 		for_each_driver(drv)
-			printf("%10s\n",drv->name);
+			printf("%s\n",drv->name);
 	} else {
 		dev = get_device_by_name(argv[1]);
 
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-16 21:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-14 11:34 [PATCH] cosmetic: remove right alignment on driver list Franck Jullien
2012-10-14 11:36 ` Franck Jullien
2012-10-16 19:58 Franck Jullien
2012-10-16 21:48 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox