mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] images: mxs: remove not used PREP_ definitions
@ 2015-03-31 16:14 Marc Kleine-Budde
  2015-03-31 16:14 ` [PATCH 2/2] commands: dmesg: fi format security warning Marc Kleine-Budde
  2015-04-03  6:02 ` [PATCH 1/2] images: mxs: remove not used PREP_ definitions Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2015-03-31 16:14 UTC (permalink / raw)
  To: barebox; +Cc: sha

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 images/Makefile.mxs | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/images/Makefile.mxs b/images/Makefile.mxs
index c93fb571f25f..93d43b352908 100644
--- a/images/Makefile.mxs
+++ b/images/Makefile.mxs
@@ -22,7 +22,6 @@ mxs23cfg = $(srctree)/arch/arm/mach-mxs/mxs23img.cfg
 mxs28cfg = $(srctree)/arch/arm/mach-mxs/mxs28img.cfg
 
 pblx-$(CONFIG_MACH_DUCKBILL) += start_barebox_duckbill prep_start_barebox_duckbill
-PREP_start_barebox_duckbill.pblx.mxsbs = start_barebox_duckbill_prep
 CFG_start_barebox_duckbill.mxsbs = $(mxs28cfg)
 FILE_barebox-duckbill-bootstream.img = start_barebox_duckbill.mxsbs
 image-$(CONFIG_MACH_DUCKBILL) += barebox-duckbill-bootstream.img
@@ -32,7 +31,6 @@ FILE_barebox-duckbill-2nd.img = start_barebox_duckbill.pblx
 image-$(CONFIG_MACH_DUCKBILL) += barebox-duckbill-2nd.img
 
 pblx-$(CONFIG_MACH_TX28) += start_barebox_karo_tx28 prep_start_barebox_karo_tx28
-PREP_start_barebox_karo_tx28.pblx.mxsbs = start_barebox_karo_tx28_prep
 CFG_start_barebox_karo_tx28.mxsbs = $(mxs28cfg)
 FILE_barebox-karo-tx28-bootstream.img = start_barebox_karo_tx28.mxsbs
 image-$(CONFIG_MACH_TX28) += barebox-karo-tx28-bootstream.img
@@ -42,7 +40,6 @@ FILE_barebox-karo-tx28-2nd.img = start_barebox_karo_tx28.pblx
 image-$(CONFIG_MACH_TX28) += barebox-karo-tx28-2nd.img
 
 pblx-$(CONFIG_MACH_MX28EVK) += start_barebox_freescale_mx28evk prep_start_barebox_freescale_mx28evk
-PREP_start_barebox_freescale_mx28evk.pblx.mxsbs = start_barebox_freescale_mx28evk_prep
 CFG_start_barebox_freescale_mx28evk.mxsbs = $(mxs28cfg)
 FILE_barebox-freescale-mx28evk-bootstream.img = start_barebox_freescale_mx28evk.mxsbs
 image-$(CONFIG_MACH_MX28EVK) += barebox-freescale-mx28evk-bootstream.img
@@ -52,7 +49,6 @@ FILE_barebox-freescale-mx28evk-2nd.img = start_barebox_freescale_mx28evk.pblx
 image-$(CONFIG_MACH_MX28EVK) += barebox-freescale-mx28evk-2nd.img
 
 pblx-$(CONFIG_MACH_IMX233_OLINUXINO) += start_barebox_olinuxino_imx23 prep_start_barebox_olinuxino_imx23
-PREP_start_barebox_olinuxino_imx23.pblx.mxsbs = start_barebox_olinuxino_imx23_prep;
 CFG_start_barebox_olinuxino_imx23.mxsbs = $(mxs23cfg)
 FILE_barebox-olinuxino-imx23-bootstream.img = start_barebox_olinuxino_imx23.mxsbs
 image-$(CONFIG_MACH_IMX233_OLINUXINO) += barebox-olinuxino-imx23-bootstream.img
-- 
2.1.4


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

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

* [PATCH 2/2] commands: dmesg: fi format security warning
  2015-03-31 16:14 [PATCH 1/2] images: mxs: remove not used PREP_ definitions Marc Kleine-Budde
@ 2015-03-31 16:14 ` Marc Kleine-Budde
  2015-04-03  6:02 ` [PATCH 1/2] images: mxs: remove not used PREP_ definitions Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2015-03-31 16:14 UTC (permalink / raw)
  To: barebox; +Cc: sha

commands/dmesg.c: In function ‘do_dmesg’:
commands/dmesg.c:71:3: warning: format not a string literal and no format arguments [-Wformat-security]

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 commands/dmesg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/dmesg.c b/commands/dmesg.c
index b2bb334e24bf..510bc16594d1 100644
--- a/commands/dmesg.c
+++ b/commands/dmesg.c
@@ -68,7 +68,7 @@ static int do_dmesg(int argc, char *argv[])
 		*(buf + len) = '\n';
 		*(buf + len + 1) = 0;
 
-		pr_info(buf);
+		pr_info("%s", buf);
 
 		free(buf);
 
-- 
2.1.4


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

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

* Re: [PATCH 1/2] images: mxs: remove not used PREP_ definitions
  2015-03-31 16:14 [PATCH 1/2] images: mxs: remove not used PREP_ definitions Marc Kleine-Budde
  2015-03-31 16:14 ` [PATCH 2/2] commands: dmesg: fi format security warning Marc Kleine-Budde
@ 2015-04-03  6:02 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2015-04-03  6:02 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: barebox

On Tue, Mar 31, 2015 at 06:14:54PM +0200, Marc Kleine-Budde wrote:
> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
> ---
>  images/Makefile.mxs | 4 ----
>  1 file changed, 4 deletions(-)

Applied, thanks

Sascha

-- 
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] 3+ messages in thread

end of thread, other threads:[~2015-04-03  6:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-31 16:14 [PATCH 1/2] images: mxs: remove not used PREP_ definitions Marc Kleine-Budde
2015-03-31 16:14 ` [PATCH 2/2] commands: dmesg: fi format security warning Marc Kleine-Budde
2015-04-03  6:02 ` [PATCH 1/2] images: mxs: remove not used PREP_ definitions Sascha Hauer

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