* [PATCH 1/1] uncompress: drop wrong BUG(uncompress_size)
@ 2012-09-05 14:59 Jean-Christophe PLAGNIOL-VILLARD
2012-09-10 8:05 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-09-05 14:59 UTC (permalink / raw)
To: barebox
As uncompress_size is a static and will set if call uncompress_size multiple
time.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
lib/uncompress.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/uncompress.c b/lib/uncompress.c
index cdfebe9..3cf98dd 100644
--- a/lib/uncompress.c
+++ b/lib/uncompress.c
@@ -80,8 +80,6 @@ int uncompress(unsigned char *inbuf, int len,
int ret;
char *err;
- BUG_ON(uncompress_size);
-
if (inbuf) {
ft = file_detect_type(inbuf);
uncompress_buf = NULL;
--
1.7.10.4
_______________________________________________
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 1/1] uncompress: drop wrong BUG(uncompress_size)
2012-09-05 14:59 [PATCH 1/1] uncompress: drop wrong BUG(uncompress_size) Jean-Christophe PLAGNIOL-VILLARD
@ 2012-09-10 8:05 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-09-10 8:05 UTC (permalink / raw)
To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox
On Wed, Sep 05, 2012 at 04:59:45PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> As uncompress_size is a static and will set if call uncompress_size multiple
> time.
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Applied, thanks
Sascha
> ---
> lib/uncompress.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/lib/uncompress.c b/lib/uncompress.c
> index cdfebe9..3cf98dd 100644
> --- a/lib/uncompress.c
> +++ b/lib/uncompress.c
> @@ -80,8 +80,6 @@ int uncompress(unsigned char *inbuf, int len,
> int ret;
> char *err;
>
> - BUG_ON(uncompress_size);
> -
> if (inbuf) {
> ft = file_detect_type(inbuf);
> uncompress_buf = NULL;
> --
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-10 8:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-05 14:59 [PATCH 1/1] uncompress: drop wrong BUG(uncompress_size) Jean-Christophe PLAGNIOL-VILLARD
2012-09-10 8:05 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox