Skip to contentSkip to conversation

lib: decompress_unlzo: Change include file name

PATCH In review Fabio Estevam 2 participants 2 messages Oct 14, 2012 – Oct 15, 2012 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: decompress_unlzo: Change include file name

From: Fabio Estevam <[email protected]>

Commit 7c979cebc (lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c) renamed lzo1x_decompress.c file, but missed to update lib/decompress_unlzo.c, which breaks imx_v6_v7_defconfig build:

arch/arm/boot/compressed/../../../../lib/decompress_unlzo.c:34:34: fatal error: lzo/lzo1x_decompress.c: No such file or directory

---
 lib/decompress_unlzo.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/decompress_unlzo.c +1 -1
index 4531294..960183d 100644
@@ -31,7 +31,7 @@
  */
 
 #ifdef STATIC
-#include "lzo/lzo1x_decompress.c"
+#include "lzo/lzo1x_decompress_safe.c"
 #else
 #include <linux/decompress/unlzo.h>
 #endif
Signature · 1 line
1.7.9.5
#1 lore raw

Thanks Fabio,

that should already be fixed on the "lzo-update" branch at

git://github.com/markus-oberhumer/linux.git lzo-update

Cheers,
Markus

Quoted 26 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Commit 7c979cebc (lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c) renamed lzo1x_decompress.c file, but missed to update lib/decompress_unlzo.c, which breaks imx_v6_v7_defconfig build:

arch/arm/boot/compressed/../../../../lib/decompress_unlzo.c:34:34: fatal error: lzo/lzo1x_decompress.c: No such file or directory

---
 lib/decompress_unlzo.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/decompress_unlzo.c +1 -1
index 4531294..960183d 100644
@@ -31,7 +31,7 @@
  */
 
 #ifdef STATIC
-#include "lzo/lzo1x_decompress.c"
+#include "lzo/lzo1x_decompress_safe.c"
 #else
 #include <linux/decompress/unlzo.h>
 #endif
Signature · 1 line
Markus Oberhumer, <[email protected]>, http://www.oberhumer.com/