[PATCH v3] MIPS: Makefile: Replace -pg with CC_FLAGS_FTRACE

2021-04-20 Thread zhaoxiao
This patch replaces the "open-coded" -pg compile flag with a CC_FLAGS_FTRACE makefile variable which architectures can override if a different option should be used for code generation. Signed-off-by: zhaoxiao --- v3:Modify the description for the patch. arch/mips/boot/compressed/Ma

[PATCH v3] X86: Makefile: Replace -pg with CC_FLAGS_FTRACE

2021-04-19 Thread zhaoxiao
In preparation for x86 supporting ftrace built on other compiler options, let's have the x86 Makefiles remove the $(CC_FLAGS_FTRACE) flags, whatever these may be, rather than assuming '-pg'. Signed-off-by: zhaoxiao --- v3:add the same change in the arch/x86/um/vdso/Makefile. arch/x86/entry/vdso

[PATCH v2] MIPS: Makefile: Replace -pg with CC_FLAGS_FTRACE

2021-04-18 Thread zhaoxiao
In preparation for mips supporting ftrace built on other compiler options, let's have the mips Makefiles remove the $(CC_FLAGS_FTRACE) flags, whatever these may be, rather than assuming '-pg'. Signed-off-by: zhaoxiao --- v2:add this same change be appropriate to all of the below Makefile. arch

[PATCH v2] X86: Makefile: Replace -pg with CC_FLAGS_FTRACE

2021-04-15 Thread zhaoxiao
In preparation for x86 supporting ftrace built on other compiler options, let's have the x86 Makefiles remove the $(CC_FLAGS_FTRACE) flags, whatever these may be, rather than assuming '-pg'. There should be no functional change as a result of this patch. Signed-off-by: zhaoxiao --- v2: add

[PATCH] X86: Makefile: Replace -pg with CC_FLAGS_FTRACE

2021-04-15 Thread zhaoxiao
In preparation for x86 supporting ftrace built on other compiler options, let's have the x86 Makefiles remove the $(CC_FLAGS_FTRACE) flags, whatever these may be, rather than assuming '-pg'. There should be no functional change as a result of this patch. Signed-off-by: zhaoxiao --- arch/x86

[PATCH] MIPS: Makefile: Replace -pg with CC_FLAGS_FTRACE

2021-04-15 Thread zhaoxiao
In preparation for mips supporting ftrace built on other compiler options, let's have the mips Makefiles remove the $(CC_FLAGS_FTRACE) flags, whatever these may be, rather than assuming '-pg'. Signed-off-by: zhaoxiao --- arch/mips/kernel/Makefile | 8 1 file changed, 4 insertions(+), 4

[PATCH v3] Staging: rtl8192u: fixed a whitespace coding style issue

2021-03-16 Thread zhaoxiao
Removed additional whitespaces in the r8192U_wx.c file. Signed-off-by: zhaoxiao --- v3: add the specify a description of why the patch is needed. drivers/staging/rtl8192u/r8192U_wx.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers/staging

[PATCH] staging: rtl8192u: remove extra lines

2021-03-16 Thread zhaoxiao
Remove extra lines in the struct r8192_private_args. Signed-off-by: zhaoxiao --- drivers/staging/rtl8192u/r8192U_wx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers/staging/rtl8192u/r8192U_wx.c index 6ead461e3279..e9de7dc8f049 100644

[PATCH v2] staging: rtl8192u: remove extra lines

2021-03-15 Thread zhaoxiao
Remove extra lines in many functions in r8192U_wx.c. Signed-off-by: zhaoxiao --- drivers/staging/rtl8192u/r8192U_wx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers/staging/rtl8192u/r8192U_wx.c index 6ead461e3279

[PATCH] staging: rtl8192u: remove extra lines

2021-03-15 Thread zhaoxiao
Remove extra lines in many functions in r8192U_wx.c. Signed-off-by: zhaoxiao --- drivers/staging/rtl8192u/r8192U_wx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers/staging/rtl8192u/r8192U_wx.c index 6ead461e3279

[PATCH] staging: rtl8192u: fixed no space coding style issue.

2021-03-15 Thread zhaoxiao
Added space around the binary operator for readability in r8192U_wx.c file Signed-off-by: zhaoxiao --- drivers/staging/rtl8192u/r8192U_wx.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers/staging/rtl8192u

[PATCH] KVM: x86: fix the space error for the pointer variables.

2021-03-01 Thread zhaoxiao
From: zhaoxiao The following pointer variables don't meet the kernel coding style, so fix the space error. Signed-off-by: zhaoxiao --- arch/x86/kvm/x86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 3712bb5245eb

[PATCH] KVM: x86: fix the space error for the pointer variables.

2021-02-26 Thread zhaoxiao
The following pointer variables don't meet the kernel coding style, so fix the space error. Signed-off-by: zhaoxiao --- arch/x86/kvm/x86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 3712bb5245eb..98849f3112d4 100644

[PATCH] KVM: x86: fix the space error for the pointer variables.

2021-02-26 Thread zhaoxiao
The following pointer variables don't meet the kernel coding style, so fix the space error. Signed-off-by: zhaoxiao --- arch/x86/kvm/x86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 3712bb5245eb..98849f3112d4 100644

[PATCH] random: remove the redundant space for the pointer variables.

2021-02-26 Thread zhaoxiao
The following pointer variables don't meet the kernel coding style, so remove the redundant space. Signed-off-by: zhaoxiao --- drivers/char/random.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index 0fe9e200e4c8

[PATCH] KVM: x86: fix the space error for the pointer variables.

2021-02-26 Thread zhaoxiao
The following pointer variables don't meet the kernel coding style, so fix the space error. Signed-off-by: zhaoxiao --- arch/x86/kvm/x86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 3712bb5245eb..98849f3112d4 100644