mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] poweroff: fix cmd_poweroff() arguments type
@ 2012-06-15 10:28 Antony Pavlov
  2012-06-20  8:35 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2012-06-15 10:28 UTC (permalink / raw)
  To: barebox

This fixes a bug introduced with:

commit d5efef69b6449edcf44f45372c42dba861c35537
Author: Antony Pavlov <antonynpavlov@gmail.com>
Date:   Wed Jun 13 23:43:07 2012 +0400

    add 'poweroff' command

    Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 commands/poweroff.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/poweroff.c b/commands/poweroff.c
index cd5542b..ebb146c 100644
--- a/commands/poweroff.c
+++ b/commands/poweroff.c
@@ -23,7 +23,7 @@
 #include <common.h>
 #include <command.h>
 
-static int cmd_poweroff(struct command *cmdtp, int argc, char *argv[])
+static int cmd_poweroff(int argc, char *argv[])
 {
 	poweroff();
 
-- 
1.7.10


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

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

* Re: [PATCH] poweroff: fix cmd_poweroff() arguments type
  2012-06-15 10:28 [PATCH] poweroff: fix cmd_poweroff() arguments type Antony Pavlov
@ 2012-06-20  8:35 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-06-20  8:35 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Fri, Jun 15, 2012 at 02:28:19PM +0400, Antony Pavlov wrote:
> This fixes a bug introduced with:
> 
> commit d5efef69b6449edcf44f45372c42dba861c35537
> Author: Antony Pavlov <antonynpavlov@gmail.com>
> Date:   Wed Jun 13 23:43:07 2012 +0400

Squashed into the commit breaking it.

Thanks
 Sascha

> 
>     add 'poweroff' command
> 
>     Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
>     Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> 
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> ---
>  commands/poweroff.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/commands/poweroff.c b/commands/poweroff.c
> index cd5542b..ebb146c 100644
> --- a/commands/poweroff.c
> +++ b/commands/poweroff.c
> @@ -23,7 +23,7 @@
>  #include <common.h>
>  #include <command.h>
>  
> -static int cmd_poweroff(struct command *cmdtp, int argc, char *argv[])
> +static int cmd_poweroff(int argc, char *argv[])
>  {
>  	poweroff();
>  
> -- 
> 1.7.10
> 
> 
> _______________________________________________
> 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] 2+ messages in thread

end of thread, other threads:[~2012-06-20  8:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-15 10:28 [PATCH] poweroff: fix cmd_poweroff() arguments type Antony Pavlov
2012-06-20  8:35 ` Sascha Hauer

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