[PATCH] arch: powerpc: sysdev: qe_lib: qe.c: Cleaning up in conjunction with strncpy and strcpy

2014-07-26 Thread Rickard Strandqvist
Replacing strcpy and strncpy with strlcpy to avoid strings that ar to big, or lacks null terminate. Signed-off-by: Rickard Strandqvist --- arch/powerpc/sysdev/qe_lib/qe.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/s

[PATCH 3.15 100/109] locking/mutex: Disable optimistic spinning on some architectures

2014-07-26 Thread Greg Kroah-Hartman
3.15-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 4badad352a6bb202ec68afa7a574c0bb961e5ebc upstream. The optimistic spin code assumes regular stores and cmpxchg() play nice; this is found to not be true for at least: par

[PATCH 3.14 81/87] locking/mutex: Disable optimistic spinning on some architectures

2014-07-26 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 4badad352a6bb202ec68afa7a574c0bb961e5ebc upstream. The optimistic spin code assumes regular stores and cmpxchg() play nice; this is found to not be true for at least: par

[PATCH 3.10 54/56] locking/mutex: Disable optimistic spinning on some architectures

2014-07-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 4badad352a6bb202ec68afa7a574c0bb961e5ebc upstream. The optimistic spin code assumes regular stores and cmpxchg() play nice; this is found to not be true for at least: par

[PATCH] arch: powerpc: platforms: powermac: bootx_init.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-26 Thread Rickard Strandqvist
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And removed unnecessary magic numbers. Signed-off-by: Rickard Strandqvist --- arch/powerpc/platforms/powermac/bootx_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/powe

[PATCH] arch: powerpc: kernel: nvram_64.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-26 Thread Rickard Strandqvist
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And removed unnecessary magic numbers. Signed-off-by: Rickard Strandqvist --- arch/powerpc/kernel/nvram_64.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/nvram_64.c b/arch

Re: Build regressions/improvements in v3.16-rc5

2014-07-26 Thread Geert Uytterhoeven
On Sat, Jul 26, 2014 at 5:39 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.16-rc5[1] to v3.16-rc4[3], the summaries are: > - build errors: +14/-11 + /scratch/kisskb/src/mm/memory_hotplug.c: error: 'PAGES_PER_SECTION' undeclared (first use in this function): => 1779:46, 1887:46, 11

Re: [PATCH v2 1/7] dt: Introduce the FMan 10 Gb/s MDIO binding

2014-07-26 Thread Emil Medve
Hello Scott, On 07/25/2014 02:54 PM, Scott Wood wrote: > On Thu, 2014-07-24 at 22:11 -0500, Xie Shaohui-B21989 wrote: >> Hello, Scott, Shruti, >> >> There are two types MDIO controllers, each MAC has a corresponding MDIO >> controller to access internal PHYs inside Serdes, another is dedicated >>