Re: [PATCH SLUB 1/2] duplicate the cache name in saved_alias list

2012-06-25 Thread Wanlong Gao
al->name = name; > + al->name = kstrdup(name, GFP_KERNEL); dup assigned the al->name ? Thanks, Wanlong Gao > + if (!al->name) { > + kfree(al); > + return -ENOMEM; > + } > al->next = alias_list; > alias_list = a

[PATCH] Fix build warning of the defconfigs

2011-06-01 Thread Wanlong Gao
RTC_CLASS is changed to bool. So value 'm' is invalid. Signed-off-by: Wanlong Gao --- arch/arm/configs/davinci_all_defconfig |2 +- arch/arm/configs/mxs_defconfig |2 +- arch/arm/configs/netx_defconfig|2 +- arch/arm/configs/viper

Re: [PATCH] fix build warnings on defconfigs

2011-04-10 Thread wanlong gao
On 4/11/11, Uwe Kleine-König wrote: > On Sun, Apr 10, 2011 at 03:04:18AM +0800, wanlong@gmail.com wrote: >> From: Wanlong Gao >> >> Change the BT_L2CAP and BT_SCO defconfigs from 'm' to 'y', >> since BT_L2CAP and BT_SCO had changed to bool

[PATCH] fix build warnings on defconfigs

2011-04-09 Thread wanlong . gao
From: Wanlong Gao Change the BT_L2CAP and BT_SCO defconfigs from 'm' to 'y', since BT_L2CAP and BT_SCO had changed to bool configs. Signed-off-by: Wanlong Gao --- arch/arm/configs/am200epdkit_defconfig |4 ++-- arch/arm/configs/at572d940hfek_defconfig |2

[PATCH] powerpc:fix build warning of the defconfigs

2011-04-09 Thread wanlong . gao
From: Wanlong Gao BT_L2CAP and BT_SCO have changed to bool . Value 'm' has invalid . Signed-off-by: Wanlong Gao --- arch/powerpc/configs/c2k_defconfig|4 ++-- arch/powerpc/configs/pmac32_defconfig |4 ++-- arch/powerpc/configs/ppc6xx_defconfig |4 ++-- arch/power