fs: fat: use hex_asc_lo/hex_asc_hi instead of custom one
Andy Shevchenko <andy.shevchenko(a)gmail.com> writes: if (uni_xlate == 1) { - *op = ':'; - for (k = 4; k > 0; k--) { - nc = ec & 0xF; - op[k] = nc > 9 ? nc + ('a' - 10) - : nc + '0'; - ec >>= 4; - } - op += 5; + *op++ = ':'; + *op++ = hex_asc_hi(e... 10 Mar 2010 18:41
numa: fix BUILD_BUG_ON for node_read_distance
On Wed, Mar 10, 2010 at 02:50:21PM -0800, David Rientjes wrote: node_read_distance() has a BUILD_BUG_ON() to prevent buffer overruns when the number of nodes printed will exceed the buffer length. Each node only needs four chars: three for distance (maximum distance is 255) and one for a seperating spac... 10 Mar 2010 18:41
[PATCH] USB-SERIAL cp210x: Remove double usb_control_msg from cp210x_set_config
This patch removes a double usb_control_msg that sets the cp210x configuration registers a second time when calling cp210x_set_config. For data sizes >2 the second write gets corrupted. The patch has been created against 2.6.34-rc1, but all cp210x driver revisions are affected. Signed-off-by: Michael Brunner <mi... 10 Mar 2010 17:34
early_res: seperate common memmap func from e820.c to fw_memmap.c
From: Russell King <rmk+lkml(a)arm.linux.org.uk> Date: Wed, 10 Mar 2010 21:50:18 +0000 Where are patches 1 to 4? They were x86 specific, from the perspective of your architecture you only need to look at the non-x86 parts of patch #5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i... 22 Mar 2010 19:13
early_res: seperate common memmap func from e820.c to fw_memmap.c
On Wed, Mar 10, 2010 at 01:24:26PM -0800, Yinghai Lu wrote: +/* How much should we pad RAM ending depending on where it is? */ +static unsigned long __init ram_alignment(resource_size_t pos) +{ + unsigned long mb = pos >> 20; + + /* To 64kB in the first megabyte */ + if (!mb) + return 64*1024; ... 10 Mar 2010 17:33
[PATCH 4/4] x86: make e820 to be initdata
and we don't need to expose e820_any_mapped anymore Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/kernel/e820.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: linux-2.6/arch/x86/kernel/e820.c =================================================================== --- lin... 10 Mar 2010 17:33
[PATCH -v2 0/6] early_res: fw_memmap.c
use wake_system_ram_range instead if needed. -v2: move common memmap fo fw_memmap.c convert for sparc64 Thanks Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majord... 10 Mar 2010 17:33
[GIT]: Networking
Similar to the pull request I sent a few days ago except the TCP stall hang regression fix is now in here too (thanks to Eric Dumazet) as well as qeth bug fixes (via Ursula Braun) a tg3 bug fix in ->poll_controller (from Louis Rilling) and a regression fix in dev_mc_add() (also from Eric Dumazet). 1) bfin_can ... 10 Mar 2010 16:26
[PATCH 1/6] arch/powerpc/platforms/pseries: Use kasprintf
From: Julia Lawall <julia(a)diku.dk> kasprintf combines kmalloc and sprintf, and takes care of the size calculation itself. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression a,flag; expression list args; statement S; @@ a = - \(kmalloc\|kz... 10 Mar 2010 16:26
[PATCH 4/6] drivers/acpi: Use kasprintf
From: Julia Lawall <julia(a)diku.dk> kasprintf combines kmalloc and sprintf, and takes care of the size calculation itself. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression a,flag; expression list args; statement S; @@ a = - \(kmalloc\|kz... 10 Mar 2010 16:26