[PATCH 1/2] debug_ll: use const char* for PUTS_LL

Sascha Hauer s.hauer at pengutronix.de
Mon Oct 29 03:39:01 EDT 2012


On Sun, Oct 28, 2012 at 10:15:09AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

Applied, thanks

Sascha

> ---
>  include/debug_ll.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/debug_ll.h b/include/debug_ll.h
> index a8bac27..c744573 100644
> --- a/include/debug_ll.h
> +++ b/include/debug_ll.h
> @@ -30,7 +30,7 @@
>  			     ch += (ch >= 10) ? 'a' - 10 : '0';\
>  			     PUTC_LL (ch); }})
>  
> -static __inline__ void PUTS_LL(char * str)
> +static __inline__ void PUTS_LL(const char * str)
>  {
>  	while (*str) {
>  		if (*str == '\n') {
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at 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 |



More information about the barebox mailing list