Parameter flags is no longer used, remove it.
Signed-off-by: Kyungsik Lee <kyungsik@lge.com>
---
kernel/power/swap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/power/swap.c b/kernel/power/swap.c
index 293ead5..a46be12 100644
--- a/kernel/power/swap.c
Parameter flags is no longer used, remove it.
Signed-off-by: Kyungsik Lee
---
kernel/power/swap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/power/swap.c b/kernel/power/swap.c
index 293ead5..a46be12 100644
--- a/kernel/power/swap.c
+++ b/kernel/power/swap.c
l?
It seems that lz4 supports legacy format with the same option as lz4c
does. Just looking at the first few bytes of lz4 compressed image, we
can see whether it is new format or not.
It shows new format magic number without this patch. New format magic
number is 0x184d2204.
$ hexdump -C ./initramfs_da
(Little Endian)
...
Currently Kernel supports legacy format only.
Acked-by: Kyungsik Lee kyungsik@lge.com
Thanks,
Kyungsik
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
On Mon, Nov 11, 2013 at 08:35:31AM +, Jan Beulich wrote:
> >>> On 11.11.13 at 03:49, Kyungsik Lee wrote:
> > Hello Jan,
> >
> > Thanks for the patch.
> >
> > On Fri, Nov 08, 2013 at 09:27:09AM +, Jan Beulich wrote:
> >> "r
On Mon, Nov 11, 2013 at 08:35:31AM +, Jan Beulich wrote:
On 11.11.13 at 03:49, Kyungsik Lee kyungsik@lge.com wrote:
Hello Jan,
Thanks for the patch.
On Fri, Nov 08, 2013 at 09:27:09AM +, Jan Beulich wrote:
ret, being set to -1 early on, gets cleared by the first
ticed by the caller without setting
> it back to -1 right after those calls.
>
> Reported-by: Matthew Daley
> Signed-off-by: Jan Beulich
> Cc: Kyungsik Lee
> Cc: Andrew Morton
>
> --- a/lib/decompress_unlz4.c
> +++ b/lib/decompress_unlz4.c
> @@ -141,6
setting
it back to -1 right after those calls.
Reported-by: Matthew Daley mat...@gmail.com
Signed-off-by: Jan Beulich jbeul...@suse.com
Cc: Kyungsik Lee kyungsik@lge.com
Cc: Andrew Morton a...@linux-foundation.org
--- a/lib/decompress_unlz4.c
+++ b/lib/decompress_unlz4.c
@@ -141,6
f76 100644
> --- a/lib/lz4/lz4hc_compress.c
> +++ b/lib/lz4/lz4hc_compress.c
> @@ -533,7 +533,7 @@ int lz4hc_compress(const unsigned char *src, size_t
> src_len,
> exit:
> return ret;
> }
> -EXPORT_SYMBOL_GPL(lz4hc_compress);
> +EXPORT_SYMBOL(lz4hc_compress);
>
);
-MODULE_LICENSE(GPL);
+MODULE_LICENSE(Dual BSD/GPL);
MODULE_DESCRIPTION(LZ4HC compressor);
Acked-by: Kyungsik Lee kyungsik@lge.com
Thanks,
Kyungsik
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info
On Thu, Jul 18, 2013 at 11:29:57PM +0200, Geert Uytterhoeven wrote:
> On Thu, Jul 18, 2013 at 11:18 PM, Sergey Senozhatsky
> wrote:
> > On (07/12/13 12:48), Sergey Senozhatsky wrote:
> >> On (07/12/13 11:28), Yann Collet wrote:
> >> >The reference implementation, hosted at :�
> >> >
On Thu, Jul 18, 2013 at 11:29:57PM +0200, Geert Uytterhoeven wrote:
On Thu, Jul 18, 2013 at 11:18 PM, Sergey Senozhatsky
sergey.senozhat...@gmail.com wrote:
On (07/12/13 12:48), Sergey Senozhatsky wrote:
On (07/12/13 11:28), Yann Collet wrote:
The reference implementation, hosted at :�
b/.gitignore
> @@ -29,6 +29,7 @@ modules.builtin
> *.bz2
> *.lzma
> *.xz
> +*.lz4
> *.lzo
> *.patch
> *.gcno
>
Acked-by: Kyungsik Lee
Thanks,
Kyungsik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to major
*.bz2
*.lzma
*.xz
+*.lz4
*.lzo
*.patch
*.gcno
Acked-by: Kyungsik Lee kyungsik@lge.com
Thanks,
Kyungsik
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
://code.google.com/p/lz4/source/checkout
Signed-off-by: Kyungsik Lee
Cc: "H. Peter Anvin"
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Russell King
Cc: Borislav Petkov
Cc: Florian Fainelli
Cc: Yann Collet
Cc: Chanho Min
---
scripts/Makefile.lib | 2 +-
1 file changed, 1 insertion(+),
enough to remove -Os.
Decompression Time(counts)
NormalUA enabled
-Os 6717 3447
-O2 6720 2728
Note: ARM v7, Kernel 3.4
counter freq. = 32768 HZ
UA(Unaligned Access)
gcc version 4.6.2
Signed-off-by: Kyungsik Lee
Cc: Thomas Gleixner
Cc: Russell King
Cc
enough to remove -Os.
Decompression Time(counts)
NormalUA enabled
-Os 6717 3447
-O2 6720 2728
Note: ARM v7, Kernel 3.4
counter freq. = 32768 HZ
UA(Unaligned Access)
gcc version 4.6.2
Signed-off-by: Kyungsik Lee kyungsik@lge.com
Cc: Thomas Gleixner t
://code.google.com/p/lz4/source/checkout
Signed-off-by: Kyungsik Lee kyungsik@lge.com
Cc: H. Peter Anvin h...@zytor.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Thomas Gleixner t...@linutronix.de
Cc: Russell King r...@arm.linux.org.uk
Cc: Borislav Petkov b...@alien8.de
Cc: Florian Fainelli flor
On Tue, Apr 30, 2013 at 01:56:02PM -0700, Andrew Morton wrote:
> On Tue, 5 Mar 2013 20:47:34 +0900 Kyungsik Lee wrote:
>
> > This patch integrates the LZ4 decompression code to the arm pre-boot code.
> > And it depends on two patchs below
> >
> > lib: Add sup
On Tue, Apr 30, 2013 at 01:56:02PM -0700, Andrew Morton wrote:
On Tue, 5 Mar 2013 20:47:34 +0900 Kyungsik Lee kyungsik@lge.com wrote:
This patch integrates the LZ4 decompression code to the arm pre-boot code.
And it depends on two patchs below
lib: Add support for LZ4-compressed
Documentation/x86/boot.txt is updated to list the LZ4 magic number.
This LZ4 magic number is used for the new compression format.
Signed-off-by: Kyungsik Lee
Cc: "H. Peter Anvin"
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Russell King
Cc: Borislav Petkov
Cc: Florian Fainelli
Cc: Y
Documentation/x86/boot.txt is updated to list the LZ4 magic number.
This LZ4 magic number is used for the new compression format.
Signed-off-by: Kyungsik Lee kyungsik@lge.com
Cc: H. Peter Anvin h...@zytor.com
Cc: Ingo Molnar mi...@elte.hu
Cc: Thomas Gleixner t...@linutronix.de
Cc: Russell
Hello,
On Tue, Mar 05, 2013 at 03:06:16PM -0800, Andrew Morton wrote:
> On Tue, 5 Mar 2013 20:47:31 +0900 Kyungsik Lee wrote:
>
> > This is the third version. In this version, Some codes are fixed
> > and more description and note are added. I would like to thank David
Hello,
On Tue, Mar 05, 2013 at 03:06:16PM -0800, Andrew Morton wrote:
On Tue, 5 Mar 2013 20:47:31 +0900 Kyungsik Lee kyungsik@lge.com wrote:
This is the third version. In this version, Some codes are fixed
and more description and note are added. I would like to thank David Sterba
t
> >code.
> >And it depends on two patchs below
> >
> >lib: Add support for LZ4-compressed kernel
> >decompressor: Add LZ4 decompressor module
> >
> >Signed-off-by: Kyungsik Lee
> >---
> > arch/x86/Kconfig | 1 +
> > arch/x86/b
On Tue, Mar 05, 2013 at 03:06:16PM -0800, Andrew Morton wrote:
> On Tue, 5 Mar 2013 20:47:31 +0900 Kyungsik Lee wrote:
>
> > This is the third version. In this version, Some codes are fixed
> > and more description and note are added. I would like to thank David Sterba
-process
- Apply -Os to decompress.o to improve decompress
performance during boot-up process
Change log: v3
- Prevent double evaluation by using an inline function
- Add LZ4 description and note for uncompressed chunk size issue
- Fix indentation error
Kyungsik Lee (5):
decompressor: Add LZ4
This patch makes x86 and arm kernels default to the LZ4-compressed
to test new LZ4 code in the linux-next. This is requested by
Andrew Morton.
Signed-off-by: Kyungsik Lee
---
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/Kconfig b/init/Kconfig
index
This patch adds support for extracting LZ4-compressed kernel images,
as well as LZ4-compressed ramdisk images in the kernel boot process.
This depends on the patch below
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee
v2:
- Clean up code
- Use lz4_decompress() for LZ4
This patch integrates the LZ4 decompression code to the x86 pre-boot code.
And it depends on two patchs below
lib: Add support for LZ4-compressed kernel
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee
---
arch/x86/Kconfig | 1 +
arch/x86/boot/compressed
This patch integrates the LZ4 decompression code to the arm pre-boot code.
And it depends on two patchs below
lib: Add support for LZ4-compressed kernel
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee
v2:
- Apply CFLAGS, -Os to decompress.o to improve decompress
This patch adds support for LZ4 decompression in the Linux Kernel.
LZ4 Decompression APIs for kernel are based on LZ4 implementation
by Yann Collet.
LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html
LZ4 source repository : http://code.google.com/p/lz4/
Signed-off-by: Kyungsik Lee
This patch adds support for LZ4 decompression in the Linux Kernel.
LZ4 Decompression APIs for kernel are based on LZ4 implementation
by Yann Collet.
LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html
LZ4 source repository : http://code.google.com/p/lz4/
Signed-off-by: Kyungsik Lee
This patch integrates the LZ4 decompression code to the arm pre-boot code.
And it depends on two patchs below
lib: Add support for LZ4-compressed kernel
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee kyungsik@lge.com
v2:
- Apply CFLAGS, -Os to decompress.o to improve
This patch integrates the LZ4 decompression code to the x86 pre-boot code.
And it depends on two patchs below
lib: Add support for LZ4-compressed kernel
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
arch/x86/Kconfig | 1 +
arch
This patch makes x86 and arm kernels default to the LZ4-compressed
to test new LZ4 code in the linux-next. This is requested by
Andrew Morton.
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/Kconfig b/init
This patch adds support for extracting LZ4-compressed kernel images,
as well as LZ4-compressed ramdisk images in the kernel boot process.
This depends on the patch below
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee kyungsik@lge.com
v2:
- Clean up code
- Use
-process
- Apply -Os to decompress.o to improve decompress
performance during boot-up process
Change log: v3
- Prevent double evaluation by using an inline function
- Add LZ4 description and note for uncompressed chunk size issue
- Fix indentation error
Kyungsik Lee (5):
decompressor: Add LZ4
On Tue, Mar 05, 2013 at 03:06:16PM -0800, Andrew Morton wrote:
On Tue, 5 Mar 2013 20:47:31 +0900 Kyungsik Lee kyungsik@lge.com wrote:
This is the third version. In this version, Some codes are fixed
and more description and note are added. I would like to thank David Sterba
for his
.
And it depends on two patchs below
lib: Add support for LZ4-compressed kernel
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
arch/x86/Kconfig | 1 +
arch/x86/boot/compressed/Makefile | 5 -
arch/x86/boot/compressed/misc.c | 4
On Tue, Feb 26, 2013 at 03:00:51PM +0100, David Sterba wrote:
> On Tue, Feb 26, 2013 at 03:24:28PM +0900, Kyungsik Lee wrote:
> > +config KERNEL_LZ4
> > + bool "LZ4"
> > + depends on HAVE_KERNEL_LZ4
> > + help
> > + Its compression rati
On Wed, Feb 27, 2013 at 09:51:39AM +, Russell King - ARM Linux wrote:
> On Wed, Feb 27, 2013 at 04:36:47PM +0900, Kyungsik Lee wrote:
> > Compiler: Linaro ARM gcc 4.6.2
> > 2. ARMv7, 1.7GHz based board
> >Kernel: linux 3.7
> >Uncompressed Kernel Size: 14MB
&
On Wed, Feb 27, 2013 at 09:51:39AM +, Russell King - ARM Linux wrote:
On Wed, Feb 27, 2013 at 04:36:47PM +0900, Kyungsik Lee wrote:
Compiler: Linaro ARM gcc 4.6.2
2. ARMv7, 1.7GHz based board
Kernel: linux 3.7
Uncompressed Kernel Size: 14MB
Compressed Size
On Tue, Feb 26, 2013 at 03:00:51PM +0100, David Sterba wrote:
On Tue, Feb 26, 2013 at 03:24:28PM +0900, Kyungsik Lee wrote:
+config KERNEL_LZ4
+ bool LZ4
+ depends on HAVE_KERNEL_LZ4
+ help
+ Its compression ratio is worse than LZO. The size of the kernel
+ is about 8
On Tue, Feb 26, 2013 at 09:33:22PM +0100, Markus F.X.J. Oberhumer wrote:
> On 2013-02-26 07:24, Kyungsik Lee wrote:
> > Hi,
> >
> > [...]
> >
> > Through the benchmark, it was found that -Os Compiler flag for
> > decompress.o brought better decompressi
On Tue, Feb 26, 2013 at 02:12:06PM +0100, David Sterba wrote:
> On Tue, Feb 26, 2013 at 03:24:27PM +0900, Kyungsik Lee wrote:
> > This patch adds support for LZ4 decompression in the Linux Kernel.
> > LZ4 Decompression APIs for kernel are based on LZ4 implementation
>
On Tue, Feb 26, 2013 at 02:12:06PM +0100, David Sterba wrote:
On Tue, Feb 26, 2013 at 03:24:27PM +0900, Kyungsik Lee wrote:
This patch adds support for LZ4 decompression in the Linux Kernel.
LZ4 Decompression APIs for kernel are based on LZ4 implementation
by Yann Collet.
LZ4 homepage
On Tue, Feb 26, 2013 at 09:33:22PM +0100, Markus F.X.J. Oberhumer wrote:
On 2013-02-26 07:24, Kyungsik Lee wrote:
Hi,
[...]
Through the benchmark, it was found that -Os Compiler flag for
decompress.o brought better decompression performance in most of cases
(ex, different compiler
This patch integrates the LZ4 decompression code to the arm pre-boot code.
And it depends on two patchs below
lib: Add support for LZ4-compressed kernel
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee
v2:
- Apply CFLAGS, -Os to decompress.o to improve decompress
This patch integrates the LZ4 decompression code to the x86 pre-boot code.
And it depends on two patchs below
lib: Add support for LZ4-compressed kernel
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee
---
arch/x86/Kconfig | 1 +
arch/x86/boot/compressed
This patch adds support for extracting LZ4-compressed kernel images,
as well as LZ4-compressed ramdisk images in the kernel boot process.
This depends on the patch below
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee
v2:
- Clean up code
- Use lz4_decompress() for LZ4
This patch adds support for LZ4 decompression in the Linux Kernel.
LZ4 Decompression APIs for kernel are based on LZ4 implementation
by Yann Collet.
LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html
LZ4 source repository : http://code.google.com/p/lz4/
Signed-off-by: Kyungsik Lee
kernel during
boot-process
- Apply -Os to decompress.o to improve decompress
performance during boot-up process
Kyungsik Lee (4):
decompressor: Add LZ4 decompressor module
lib: Add support for LZ4-compressed kernel
arm: Add support for LZ4-compressed kernel
x86: Add support for LZ4
kernel during
boot-process
- Apply -Os to decompress.o to improve decompress
performance during boot-up process
Kyungsik Lee (4):
decompressor: Add LZ4 decompressor module
lib: Add support for LZ4-compressed kernel
arm: Add support for LZ4-compressed kernel
x86: Add support for LZ4
This patch adds support for LZ4 decompression in the Linux Kernel.
LZ4 Decompression APIs for kernel are based on LZ4 implementation
by Yann Collet.
LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html
LZ4 source repository : http://code.google.com/p/lz4/
Signed-off-by: Kyungsik Lee
This patch adds support for extracting LZ4-compressed kernel images,
as well as LZ4-compressed ramdisk images in the kernel boot process.
This depends on the patch below
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee kyungsik@lge.com
v2:
- Clean up code
- Use
This patch integrates the LZ4 decompression code to the x86 pre-boot code.
And it depends on two patchs below
lib: Add support for LZ4-compressed kernel
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
arch/x86/Kconfig | 1 +
arch
This patch integrates the LZ4 decompression code to the arm pre-boot code.
And it depends on two patchs below
lib: Add support for LZ4-compressed kernel
decompressor: Add LZ4 decompressor module
Signed-off-by: Kyungsik Lee kyungsik@lge.com
v2:
- Apply CFLAGS, -Os to decompress.o to improve
On Thu, Feb 21, 2013 at 02:41:53PM +0100, David Sterba wrote:
> On Mon, Feb 18, 2013 at 04:56:04PM +0900, Kyungsik Lee wrote:
> > @@ -55,8 +55,9 @@ static struct list_head *lzo_alloc_workspace(void)
> > return ERR_PTR(-ENOMEM);
> >
> > workspace->me
On Thu, Feb 21, 2013 at 02:41:53PM +0100, David Sterba wrote:
On Mon, Feb 18, 2013 at 04:56:04PM +0900, Kyungsik Lee wrote:
@@ -55,8 +55,9 @@ static struct list_head *lzo_alloc_workspace(void)
return ERR_PTR(-ENOMEM);
workspace-mem = vmalloc(LZO1X_MEM_COMPRESS
The size of de/compress buffer is small enough to use kmalloc.
Allocating it with kmalloc rather than vmalloc is preferred.
This patch depends on my previous patch, “btrfs: fix decompress buffer size”.
v2: Using vmalloc for "workspace->mem" due to the size limit.
Signed-off-by: Kyu
The size of de/compress buffer is small enough to use kmalloc.
Allocating it with kmalloc rather than vmalloc is preferred.
This patch depends on my previous patch, “btrfs: fix decompress buffer size”.
v2: Using vmalloc for workspace-mem due to the size limit.
Signed-off-by: Kyungsik Lee
The size of de/compress buffer and LZO1X_MEM_COMPRESS is small enough.
Allocating it with kmalloc rather than vmalloc is preferred.
This patch depends on my previous patch, “btrfs: fix decompress buffer size”.
Signed-off-by: Kyungsik Lee
Cc: David Sterba
---
fs/btrfs/lzo.c | 14
The size of de/compress buffer and LZO1X_MEM_COMPRESS is small enough.
Allocating it with kmalloc rather than vmalloc is preferred.
This patch depends on my previous patch, “btrfs: fix decompress buffer size”.
Signed-off-by: Kyungsik Lee kyungsik@lge.com
Cc: David Sterba dste...@suse.cz
lzo1x_1_compress() is unnecessarily used for allocating decompress buffer.
Signed-off-by: Kyungsik Lee
---
fs/btrfs/lzo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/lzo.c b/fs/btrfs/lzo.c
index 743b86f..223893a 100644
--- a/fs/btrfs/lzo.c
+++ b/fs/btrfs
lzo1x_1_compress() is unnecessarily used for allocating decompress buffer.
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
fs/btrfs/lzo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/lzo.c b/fs/btrfs/lzo.c
index 743b86f..223893a 100644
--- a/fs/btrfs
This patch adds support for extracting LZ4-compressed kernel images,
as well as LZ4-compressed ramdisk images in the kernel boot process.
This depends on the patch below
decompressors: add lz4 decompressor module
Signed-off-by: Kyungsik Lee
---
include/linux/decompress/unlz4.h | 10 ++
init
This patch integrates the LZ4 decompression code to the arm pre-boot code.
And it depends on two patchs below
lib: add support for LZ4-compressed kernels
decompressors: add lz4 decompressor module
Signed-off-by: Kyungsik Lee
---
arch/arm/Kconfig | 1 +
arch/arm/boot
This patch adds support for LZ4 decompression in the kernel.
LZ4 Decompression APIs for kernel are based on LZ4 implementation
by Yann Collet.
LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html
LZ4 source repository : http://code.google.com/p/lz4/
Signed-off-by: Kyungsik Lee
This patch integrates the LZ4 decompression code to the x86 pre-boot code.
And it depends on two patchs below
lib: add support for LZ4-compressed kernels
decompressors: add lz4 decompressor module
Signed-off-by: Kyungsik Lee
---
arch/x86/Kconfig | 1 +
arch/x86/boot/compressed
This patch integrates the LZ4 decompression code to the x86 pre-boot code.
And it depends on two patchs below
lib: add support for LZ4-compressed kernels
decompressors: add lz4 decompressor module
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
arch/x86/Kconfig | 1 +
arch
This patch adds support for LZ4 decompression in the kernel.
LZ4 Decompression APIs for kernel are based on LZ4 implementation
by Yann Collet.
LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html
LZ4 source repository : http://code.google.com/p/lz4/
Signed-off-by: Kyungsik Lee kyungsik
This patch adds support for extracting LZ4-compressed kernel images,
as well as LZ4-compressed ramdisk images in the kernel boot process.
This depends on the patch below
decompressors: add lz4 decompressor module
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
include/linux/decompress
This patch integrates the LZ4 decompression code to the arm pre-boot code.
And it depends on two patchs below
lib: add support for LZ4-compressed kernels
decompressors: add lz4 decompressor module
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
arch/arm/Kconfig | 1
It is usually accepted that code should explain itself.
The max size of string is 1025(512*2 + 1) bytes so there is
no point to add one more byte for string allocation.
This patch is intended to fix incorrect size for string allocation
and make code more readable.
Signed-off-by: Kyungsik Lee
It is usually accepted that code should explain itself.
The max size of string is 1025(512*2 + 1) bytes so there is
no point to add one more byte for string allocation.
This patch is intended to fix incorrect size for string allocation
and make code more readable.
Signed-off-by: Kyungsik Lee
with no performance gain).
Signed-off-by: Kyungsik Lee
Reviewed-by: Venkatraman S
---
Changes in v2:
- Handling on-stack buffer if it's used in caller.
Changes in v3:
- Remove unnecesary code.
Changes in v4:
- Modify codes based-on S, Venkatraman's comments.
Changes in v5:
- Modify commit log and add
with no performance gain).
Signed-off-by: Kyungsik Lee
Signed-off-by: S, Venkatraman
---
Changes in v2:
- Handling on-stack buffer if it's used in caller.
Changes in v3:
- Remove unnecesary code.
Changes in v4:
- Modify codes based-on S, Venkatraman's comments.
Changes in v5:
- Modify commit log
with no performance gain).
Signed-off-by: Kyungsik Lee kyungsik@lge.com
Signed-off-by: S, Venkatraman svenk...@ti.com
---
Changes in v2:
- Handling on-stack buffer if it's used in caller.
Changes in v3:
- Remove unnecesary code.
Changes in v4:
- Modify codes based-on S, Venkatraman's comments
with no performance gain).
Signed-off-by: Kyungsik Lee kyungsik@lge.com
Reviewed-by: Venkatraman S svenk...@ti.com
---
Changes in v2:
- Handling on-stack buffer if it's used in caller.
Changes in v3:
- Remove unnecesary code.
Changes in v4:
- Modify codes based-on S, Venkatraman's comments.
Changes
buffer for reading
Extended CSD register in mmc_send_cxd_data().
Signed-off-by: Kyungsik Lee
Signed-off-by: S, Venkatraman
---
Changes in v2:
- Handling on-stack buffer if it's used in caller.
Changes in v3:
- Remove unnecesary code.
Changes in v4:
- Modify codes based-on S, Venkatraman's comments
buffer for reading
Extended CSD register in mmc_send_cxd_data().
Signed-off-by: Kyungsik Lee kyungsik@lge.com
Signed-off-by: S, Venkatraman svenk...@ti.com
---
Changes in v2:
- Handling on-stack buffer if it's used in caller.
Changes in v3:
- Remove unnecesary code.
Changes in v4:
- Modify codes
buffer for reading
Extended CSD register in mmc_send_cxd_data().
Signed-off-by: Kyungsik Lee
---
Changes in v2:
- Handling on-stack buffer if it's used in caller.
Changes in v3:
- Remove unnecesary code.
---
drivers/mmc/core/mmc_ops.c | 54 ---
1 files
buffer for reading
Extended CSD register in mmc_send_cxd_data().
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
Changes in v2:
- Handling on-stack buffer if it's used in caller.
Changes in v3:
- Remove unnecesary code.
---
drivers/mmc/core/mmc_ops.c | 54
buffer for reading
Extended CSD register in mmc_send_cxd_data().
Signed-off-by: Kyungsik Lee
---
Changes in v2:
- Handling on-stack buffer if it's used in caller.
---
drivers/mmc/core/mmc_ops.c | 56 ++-
1 files changed, 44 insertions(+), 12 deletions
buffer for reading
Extended CSD register in mmc_send_cxd_data().
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
Changes in v2:
- Handling on-stack buffer if it's used in caller.
---
drivers/mmc/core/mmc_ops.c | 56 ++-
1 files changed, 44 insertions
buffer for reading
Extended CSD register in mmc_send_cxd_data().
Signed-off-by: Kyungsik Lee
---
drivers/mmc/core/mmc_ops.c | 45 ---
1 files changed, 29 insertions(+), 16 deletions(-)
diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c
buffer for reading
Extended CSD register in mmc_send_cxd_data().
Signed-off-by: Kyungsik Lee kyungsik@lge.com
---
drivers/mmc/core/mmc_ops.c | 45 ---
1 files changed, 29 insertions(+), 16 deletions(-)
diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc
88 matches
Mail list logo