From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TSjw7-00010e-Tp for barebox@lists.infradead.org; Mon, 29 Oct 2012 07:39:04 +0000 Date: Mon, 29 Oct 2012 08:39:01 +0100 From: Sascha Hauer Message-ID: <20121029073901.GI1641@pengutronix.de> References: <1351415710-19380-1-git-send-email-plagnioj@jcrosoft.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1351415710-19380-1-git-send-email-plagnioj@jcrosoft.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/2] debug_ll: use const char* for PUTS_LL To: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org On Sun, Oct 28, 2012 at 10:15:09AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD 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@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