On Fri, Mar 8, 2019 at 10:52 PM Wolfram Sang wrote:
>
>
> > > I just checked this issue again and concluded that both are reasonable,
> > > the suggestion from me below with the adapter quirk AND your original
> > > patch setting the threshold to 1. With my suggestion the core will
> > > prevent
On Fri, Mar 8, 2019 at 7:29 PM Wolfram Sang wrote:
>
> On Fri, Feb 22, 2019 at 02:04:11PM +0800, Hsin-Yi Wang wrote:
> > Thanks for the solution.
> > Previously we were testing if the driver can handle zero-length
> > transfer, but it turns out it will timeout. (Also che
Thanks for the solution.
Previously we were testing if the driver can handle zero-length
transfer, but it turns out it will timeout. (Also checked this from
mtk's datasheet)
Adding original owner qii.wang to verify that. We'll apply this after
verification.
On Sat, Feb 16, 2019 at 12:36 AM
Ok, I can add a check in another patch. Should we return NULL pointer
if msg->len is 0 or print out some warnings? Thanks.
On Fri, Feb 15, 2019 at 5:10 PM Wolfram Sang wrote:
>
> On Fri, Feb 15, 2019 at 05:02:02PM +0800, Hsin-Yi Wang wrote:
> > i2c_get_dma_safe_msg_buf() alloca
function returns NULL pointer.
Fixes: fc66b39fe36a ("i2c: mediatek: Use DMA safe buffers for i2c transactions")
Signed-off-by: Hsin-Yi Wang
---
drivers/i2c/busses/i2c-mt65xx.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/i2c/busses/i2c-mt65xx.c b/dri
static to fix this.
Signed-off-by: Yi Wang
---
arch/x86/kvm/vmx/nested.c | 2 +-
arch/x86/kvm/vmx/vmx.c| 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kvm/vmx/nested.c b/arch/x86/kvm/vmx/nested.c
index 2616bd2..f8af511 100644
--- a/arch/x86/kvm/vmx/nested.c
From: "Huang Zijiang"
changes since v1:
redo the patch based on suggestions from Boris.
v1 link:https://lkml.org/lkml/2019/1/8/30
kmemdup is the same function as kmalloc() + memcpy().
Signed-off-by: Huang Zijiang
---
arch/x86/kernel/e820.c | 9 +++--
1 file changed, 3
()),
so we need these functions to be called after the switch to cmd mode happens,
i.e. in innolux_panel_unprepare.
Signed-off-by: Hsin-Yi, Wang
---
Resend for review.
---
drivers/gpu/drm/panel/panel-innolux-p079zca.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git
From: "huang.zijiang"
kmemdup has implemented the function that kmalloc() and memcpy().
Signed-off-by: huang.zijiang
---
arch/x86/kernel/e820.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c
index 50895c2..a687d10
From: "huang.zijiang"
NULL check is needed because kmalloc maybe return NULL.
Signed-off-by: huang.zijiang
---
tools/virtio/linux/kernel.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h
index 7ef45a4..2afcad8 100644
---
From: Junhua Huang
dev_set_rx_mode will call function pointer mac_dev->add_hash_mac_addr
while holding spin_lock_bh. The function pointer points to
memac_add_hash_mac_address when ethernet type is fman-memac,
which will kmalloc use GFP_KERNEL flag.
/ # ifconfig eth2 192.168.1.168
[
()),
so we need these functions to be called after the switch to cmd mode happens,
i.e. in innolux_panel_unprepare.
Signed-off-by: Hsin-Yi, Wang
---
drivers/gpu/drm/panel/panel-innolux-p079zca.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/panel
Thanks!
On Thu, Nov 29, 2018 at 2:26 PM Chunfeng Yun wrote:
>
> hi Hsin-Yi,
>
> On Thu, 2018-11-29 at 11:16 +0800, Hsin-Yi, Wang wrote:
> > Originally, when dr_mode is USB_DR_MODE_HOST, it didn't power down device
> > ip,
> > so host ip sleep will fail at ssusb_ho
Thanks!
On Thu, Nov 29, 2018 at 2:26 PM Chunfeng Yun wrote:
>
> hi Hsin-Yi,
>
> On Thu, 2018-11-29 at 11:16 +0800, Hsin-Yi, Wang wrote:
> > Originally, when dr_mode is USB_DR_MODE_HOST, it didn't power down device
> > ip,
> > so host ip sleep will fail at ssusb_ho
Commit-ID: 89f579ce99f7e028e81885d3965f973c0f787611
Gitweb: https://git.kernel.org/tip/89f579ce99f7e028e81885d3965f973c0f787611
Author: Yi Wang
AuthorDate: Thu, 22 Nov 2018 10:04:09 +0800
Committer: Ingo Molnar
CommitDate: Fri, 23 Nov 2018 07:59:59 +0100
x86/headers: Fix -Wmissing
Commit-ID: 89f579ce99f7e028e81885d3965f973c0f787611
Gitweb: https://git.kernel.org/tip/89f579ce99f7e028e81885d3965f973c0f787611
Author: Yi Wang
AuthorDate: Thu, 22 Nov 2018 10:04:09 +0800
Committer: Ingo Molnar
CommitDate: Fri, 23 Nov 2018 07:59:59 +0100
x86/headers: Fix -Wmissing
Commit-ID: d37904c5b14317a2c76efec6b9e4dbcaa17380e5
Gitweb: https://git.kernel.org/tip/d37904c5b14317a2c76efec6b9e4dbcaa17380e5
Author: Yi Wang
AuthorDate: Thu, 22 Nov 2018 10:04:09 +0800
Committer: Ingo Molnar
CommitDate: Thu, 22 Nov 2018 09:52:28 +0100
x86/headers: Fix -Wmissing
Commit-ID: d37904c5b14317a2c76efec6b9e4dbcaa17380e5
Gitweb: https://git.kernel.org/tip/d37904c5b14317a2c76efec6b9e4dbcaa17380e5
Author: Yi Wang
AuthorDate: Thu, 22 Nov 2018 10:04:09 +0800
Committer: Ingo Molnar
CommitDate: Thu, 22 Nov 2018 09:52:28 +0100
x86/headers: Fix -Wmissing
From: Wen Yang
Currently there are 2 problems with the ucc_of_parse_tdm function:
1,a possible null pointer dereference in ucc_of_parse_tdm,
detected by the semantic patch deref_null.cocci,
with the following warning:
drivers/soc/fsl/qe/qe_tdm.c:177:21-24: ERROR: pdev is NULL but dereferenced.
From: Wen Yang
Currently there are 2 problems with the ucc_of_parse_tdm function:
1,a possible null pointer dereference in ucc_of_parse_tdm,
detected by the semantic patch deref_null.cocci,
with the following warning:
drivers/soc/fsl/qe/qe_tdm.c:177:21-24: ERROR: pdev is NULL but dereferenced.
this.
Also, remove arch_release_thread_stack() completely because no
arch seems to implement it since bb9d81264 (arch: remove tile port).
Signed-off-by: Yi Wang
---
v2: remove arch_release_thread_stack(). Thanks to Rasmus.
---
include/linux/sched/task.h | 2 ++
init/main.c| 1
this.
Also, remove arch_release_thread_stack() completely because no
arch seems to implement it since bb9d81264 (arch: remove tile port).
Signed-off-by: Yi Wang
---
v2: remove arch_release_thread_stack(). Thanks to Rasmus.
---
include/linux/sched/task.h | 2 ++
init/main.c| 1
to fix this.
Signed-off-by: Yi Wang
---
arch/x86/include/asm/thread_info.h | 1 +
include/linux/sched/task.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/x86/include/asm/thread_info.h
b/arch/x86/include/asm/thread_info.h
index 2ff2a30..8621036 100644
--- a/arch/x86/include/asm
to fix this.
Signed-off-by: Yi Wang
---
arch/x86/include/asm/thread_info.h | 1 +
include/linux/sched/task.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/x86/include/asm/thread_info.h
b/arch/x86/include/asm/thread_info.h
index 2ff2a30..8621036 100644
--- a/arch/x86/include/asm
/kernel/process.c:784:6: warning: no previous prototype for
‘do_arch_prctl_common’ [-Wmissing-prototypes]
Add the missing including files to fix this.
Signed-off-by: Yi Wang
---
arch/x86/kernel/process.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/x86/kernel/process.c b/arch/x86
/kernel/process.c:784:6: warning: no previous prototype for
‘do_arch_prctl_common’ [-Wmissing-prototypes]
Add the missing including files to fix this.
Signed-off-by: Yi Wang
---
arch/x86/kernel/process.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/x86/kernel/process.c b/arch/x86
-by: Yi Wang
---
arch/x86/include/asm/tsc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/include/asm/tsc.h b/arch/x86/include/asm/tsc.h
index eb5bbfe..8a0c25c 100644
--- a/arch/x86/include/asm/tsc.h
+++ b/arch/x86/include/asm/tsc.h
@@ -35,6 +35,7 @@ static inline cycles_t get_cycles
-by: Yi Wang
---
arch/x86/include/asm/tsc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/include/asm/tsc.h b/arch/x86/include/asm/tsc.h
index eb5bbfe..8a0c25c 100644
--- a/arch/x86/include/asm/tsc.h
+++ b/arch/x86/include/asm/tsc.h
@@ -35,6 +35,7 @@ static inline cycles_t get_cycles
We get a warning when building kernel with W=1:
arch/x86/kernel/irqinit.c:79:13: warning: no previous prototype for ‘init_IRQ’
[-Wmissing-prototypes]
void __init init_IRQ(void)
^
Add the missing declaration in head file to fix this.
Signed-off-by: Yi Wang
---
arch/x86/include
We get a warning when building kernel with W=1:
arch/x86/kernel/irqinit.c:79:13: warning: no previous prototype for ‘init_IRQ’
[-Wmissing-prototypes]
void __init init_IRQ(void)
^
Add the missing declaration in head file to fix this.
Signed-off-by: Yi Wang
---
arch/x86/include
We get a warning when building kernel with W=1:
kernel/sched/rt.c:626:6: warning: no previous prototype for
‘sched_rt_bandwidth_account’ [-Wmissing-prototypes]
bool sched_rt_bandwidth_account(struct rt_rq *rt_rq)
Add the missing declaration to fix this.
Signed-off-by: Yi Wang
---
kernel
We get a warning when building kernel with W=1:
kernel/sched/rt.c:626:6: warning: no previous prototype for
‘sched_rt_bandwidth_account’ [-Wmissing-prototypes]
bool sched_rt_bandwidth_account(struct rt_rq *rt_rq)
Add the missing declaration to fix this.
Signed-off-by: Yi Wang
---
kernel
]
arch/x86/kvm/lapic.c:1936:65: warning: suggest braces around empty body in an
‘if’ statement [-Wempty-body]
arch/x86/kvm/lapic.c:1975:44: warning: suggest braces around empty body in an
‘if’ statement [-Wempty-body]
Rework the debug helper macro to get rid of these warnings.
Signed-off-by: Yi
]
arch/x86/kvm/lapic.c:1936:65: warning: suggest braces around empty body in an
‘if’ statement [-Wempty-body]
arch/x86/kvm/lapic.c:1975:44: warning: suggest braces around empty body in an
‘if’ statement [-Wempty-body]
Rework the debug helper macro to get rid of these warnings.
Signed-off-by: Yi
for ‘task_tick_numa’
[-Wmissing-prototypes]
kernel/sched/fair.c:3548:6: warning: no previous prototype for
‘sync_entity_load_avg’ [-Wmissing-prototypes]
kernel/sched/fair.c:3561:6: warning: no previous prototype for
‘remove_entity_load_avg’ [-Wmissing-prototypes]
Signed-off-by: Yi Wang
---
kernel
for ‘task_tick_numa’
[-Wmissing-prototypes]
kernel/sched/fair.c:3548:6: warning: no previous prototype for
‘sync_entity_load_avg’ [-Wmissing-prototypes]
kernel/sched/fair.c:3561:6: warning: no previous prototype for
‘remove_entity_load_avg’ [-Wmissing-prototypes]
Signed-off-by: Yi Wang
---
kernel
’ is not at beginning of declaration
[-Wold-style-declaration]
arch/x86/kvm/vmx.c:5985:1: warning: ‘inline’ is not at beginning of declaration
[-Wold-style-declaration]
arch/x86/kvm/vmx.c:6023:1: warning: ‘inline’ is not at beginning of declaration
[-Wold-style-declaration]
Signed-off-by: Yi Wang
’ is not at beginning of declaration
[-Wold-style-declaration]
arch/x86/kvm/vmx.c:5985:1: warning: ‘inline’ is not at beginning of declaration
[-Wold-style-declaration]
arch/x86/kvm/vmx.c:6023:1: warning: ‘inline’ is not at beginning of declaration
[-Wold-style-declaration]
Signed-off-by: Yi Wang
/x86/kernel/cpu/topology.c:25:5: warning: no previous prototype for
‘detect_extended_topology_early’ [-Wmissing-prototypes]
arch/x86/kernel/cpu/topology.c:57:5: warning: no previous prototype for
‘detect_extended_topology’ [-Wmissing-prototypes]
Signed-off-by: Yi Wang
---
v2: merge the series
/x86/kernel/cpu/topology.c:25:5: warning: no previous prototype for
‘detect_extended_topology_early’ [-Wmissing-prototypes]
arch/x86/kernel/cpu/topology.c:57:5: warning: no previous prototype for
‘detect_extended_topology’ [-Wmissing-prototypes]
Signed-off-by: Yi Wang
---
v2: merge the series
-off-by: Yi Wang
---
arch/x86/kernel/cpu/cacheinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/cpu/cacheinfo.c b/arch/x86/kernel/cpu/cacheinfo.c
index dc1b934..5bafd93 100644
--- a/arch/x86/kernel/cpu/cacheinfo.c
+++ b/arch/x86/kernel/cpu/cacheinfo.c
@@ -19,6 +19,7
-off-by: Yi Wang
---
arch/x86/kernel/cpu/cacheinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/cpu/cacheinfo.c b/arch/x86/kernel/cpu/cacheinfo.c
index dc1b934..5bafd93 100644
--- a/arch/x86/kernel/cpu/cacheinfo.c
+++ b/arch/x86/kernel/cpu/cacheinfo.c
@@ -19,6 +19,7
-off-by: Yi Wang
---
arch/x86/kernel/cpu/topology.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/cpu/topology.c b/arch/x86/kernel/cpu/topology.c
index 71ca064..8f6c784 100644
--- a/arch/x86/kernel/cpu/topology.c
+++ b/arch/x86/kernel/cpu/topology.c
@@ -10,6 +10,8
-off-by: Yi Wang
---
arch/x86/kernel/cpu/scattered.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/cpu/scattered.c b/arch/x86/kernel/cpu/scattered.c
index 772c219..5b6866f 100644
--- a/arch/x86/kernel/cpu/scattered.c
+++ b/arch/x86/kernel/cpu/scattered.c
@@ -9,6 +9,8
-off-by: Yi Wang
---
arch/x86/kernel/cpu/topology.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/cpu/topology.c b/arch/x86/kernel/cpu/topology.c
index 71ca064..8f6c784 100644
--- a/arch/x86/kernel/cpu/topology.c
+++ b/arch/x86/kernel/cpu/topology.c
@@ -10,6 +10,8
-off-by: Yi Wang
---
arch/x86/kernel/cpu/scattered.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/cpu/scattered.c b/arch/x86/kernel/cpu/scattered.c
index 772c219..5b6866f 100644
--- a/arch/x86/kernel/cpu/scattered.c
+++ b/arch/x86/kernel/cpu/scattered.c
@@ -9,6 +9,8
This series of patch fix some prototype warning because
of missing include file.
Yi Wang (3):
x86/cpu: fix prototype warning in cacheinfo.c
x86/cpu: fix prototype warning in scattered.c
x86/cpu: fix prototype warning in topology.c
arch/x86/kernel/cpu/cacheinfo.c | 1 +
arch/x86/kernel/cpu
This series of patch fix some prototype warning because
of missing include file.
Yi Wang (3):
x86/cpu: fix prototype warning in cacheinfo.c
x86/cpu: fix prototype warning in scattered.c
x86/cpu: fix prototype warning in topology.c
arch/x86/kernel/cpu/cacheinfo.c | 1 +
arch/x86/kernel/cpu
This fixes the following warning:
kernel/cgroup/cpuset.c: In function ‘cpuset_cancel_attach’:
kernel/cgroup/cpuset.c:1501:17: warning: variable ‘cs’ set but not used
[-Wunused-but-set-variable]
struct cpuset *cs;
^
Signed-off-by: Yi Wang
---
kernel/cgroup/cpuset.c | 2 --
1
This fixes the following warning:
kernel/cgroup/cpuset.c: In function ‘cpuset_cancel_attach’:
kernel/cgroup/cpuset.c:1501:17: warning: variable ‘cs’ set but not used
[-Wunused-but-set-variable]
struct cpuset *cs;
^
Signed-off-by: Yi Wang
---
kernel/cgroup/cpuset.c | 2 --
1
smp_kvm_posted_intr_wakeup_ipi(struct pt_regs *regs)
^
arch/x86/kernel/irq.c:328:16: warning: no previous prototype for
‘smp_kvm_posted_intr_nested_ipi’ [-Wmissing-prototypes]
__visible void smp_kvm_posted_intr_nested_ipi(struct pt_regs *regs)
^
Signed-off-by: Yi Wang
---
arch
smp_kvm_posted_intr_wakeup_ipi(struct pt_regs *regs)
^
arch/x86/kernel/irq.c:328:16: warning: no previous prototype for
‘smp_kvm_posted_intr_nested_ipi’ [-Wmissing-prototypes]
__visible void smp_kvm_posted_intr_nested_ipi(struct pt_regs *regs)
^
Signed-off-by: Yi Wang
---
arch
Commit-ID: b42967dcac1d4f5b059ec25568136462bcb051fe
Gitweb: https://git.kernel.org/tip/b42967dcac1d4f5b059ec25568136462bcb051fe
Author: Yi Wang
AuthorDate: Mon, 29 Oct 2018 15:17:31 +0800
Committer: Thomas Gleixner
CommitDate: Mon, 5 Nov 2018 16:45:24 +0100
x86/hyper-v: Fix
Commit-ID: b42967dcac1d4f5b059ec25568136462bcb051fe
Gitweb: https://git.kernel.org/tip/b42967dcac1d4f5b059ec25568136462bcb051fe
Author: Yi Wang
AuthorDate: Mon, 29 Oct 2018 15:17:31 +0800
Committer: Thomas Gleixner
CommitDate: Mon, 5 Nov 2018 16:45:24 +0100
x86/hyper-v: Fix
Commit-ID: eb8fde6217d6229155c7ec6bdf6b31e4717fb3da
Gitweb: https://git.kernel.org/tip/eb8fde6217d6229155c7ec6bdf6b31e4717fb3da
Author: Yi Wang
AuthorDate: Mon, 29 Oct 2018 15:17:31 +0800
Committer: Thomas Gleixner
CommitDate: Mon, 5 Nov 2018 12:35:03 +0100
x86/hyper-v: Fix
Commit-ID: eb8fde6217d6229155c7ec6bdf6b31e4717fb3da
Gitweb: https://git.kernel.org/tip/eb8fde6217d6229155c7ec6bdf6b31e4717fb3da
Author: Yi Wang
AuthorDate: Mon, 29 Oct 2018 15:17:31 +0800
Committer: Thomas Gleixner
CommitDate: Mon, 5 Nov 2018 12:35:03 +0100
x86/hyper-v: Fix
Commit-ID: e1ff516a56ad56c476b47795d3811eef79d25fbe
Gitweb: https://git.kernel.org/tip/e1ff516a56ad56c476b47795d3811eef79d25fbe
Author: Yi Wang
AuthorDate: Mon, 5 Nov 2018 08:50:13 +0800
Committer: Ingo Molnar
CommitDate: Mon, 5 Nov 2018 07:03:59 +0100
sched/fair: Fix a comment
Commit-ID: e1ff516a56ad56c476b47795d3811eef79d25fbe
Gitweb: https://git.kernel.org/tip/e1ff516a56ad56c476b47795d3811eef79d25fbe
Author: Yi Wang
AuthorDate: Mon, 5 Nov 2018 08:50:13 +0800
Committer: Ingo Molnar
CommitDate: Mon, 5 Nov 2018 07:03:59 +0100
sched/fair: Fix a comment
Fix the comment in task_numa_fault() to avoid confusing.
Signed-off-by: Yi Wang
Reviewed-by: Xi Xu
---
kernel/sched/fair.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 908c9cd..6430c0a 100644
--- a/kernel/sched/fair.c
Fix the comment in task_numa_fault() to avoid confusing.
Signed-off-by: Yi Wang
Reviewed-by: Xi Xu
---
kernel/sched/fair.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 908c9cd..6430c0a 100644
--- a/kernel/sched/fair.c
The registered clks should unregister when something wrong happens
before going out in function clk_boston_setup().
Signed-off-by: Yi Wang
---
drivers/clk/imgtec/clk-boston.c | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/imgtec/clk-boston.c
The registered clks should unregister when something wrong happens
before going out in function clk_boston_setup().
Signed-off-by: Yi Wang
---
drivers/clk/imgtec/clk-boston.c | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/imgtec/clk-boston.c
of 'onecell'
'onecell' is malloced in clk_boston_setup(), but not be freed
before leaving from the error handling cases.
Signed-off-by: Yi Wang
---
drivers/clk/imgtec/clk-boston.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/imgtec/clk-boston.c b
of 'onecell'
'onecell' is malloced in clk_boston_setup(), but not be freed
before leaving from the error handling cases.
Signed-off-by: Yi Wang
---
drivers/clk/imgtec/clk-boston.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/imgtec/clk-boston.c b
This fix two issues in clk_boston_setup() function:
- possible memory leak of 'onecell'
- registered clks not unregister when error happens
Changes from v2:
- include smatch to the commit
- unregister clks which registered before going out
Yi Wang (2):
clk: boston: fix possible memory leak
This fix two issues in clk_boston_setup() function:
- possible memory leak of 'onecell'
- registered clks not unregister when error happens
Changes from v2:
- include smatch to the commit
- unregister clks which registered before going out
Yi Wang (2):
clk: boston: fix possible memory leak
'onecell' is malloced in clk_boston_setup(), but is not freed
before leaving from the error handling cases.
Signed-off-by: Yi Wang
---
v2: fix syntax issue in comment, thanks to Sergei.
drivers/clk/imgtec/clk-boston.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff
'onecell' is malloced in clk_boston_setup(), but is not freed
before leaving from the error handling cases.
Signed-off-by: Yi Wang
---
v2: fix syntax issue in comment, thanks to Sergei.
drivers/clk/imgtec/clk-boston.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff
'onecell' is malloced in clk_boston_setup(), but not be freed
before leaving from the error handling cases.
Signed-off-by: Yi Wang
---
drivers/clk/imgtec/clk-boston.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/imgtec/clk-boston.c b/drivers/clk
'onecell' is malloced in clk_boston_setup(), but not be freed
before leaving from the error handling cases.
Signed-off-by: Yi Wang
---
drivers/clk/imgtec/clk-boston.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/imgtec/clk-boston.c b/drivers/clk
Remove the surplus TAB in hv_do_fast_hypercall16().
Signed-off-by: Yi Wang
---
arch/x86/include/asm/mshyperv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/mshyperv.h b/arch/x86/include/asm/mshyperv.h
index 0d6271c..1d0a777 100644
--- a/arch/x86
Remove the surplus TAB in hv_do_fast_hypercall16().
Signed-off-by: Yi Wang
---
arch/x86/include/asm/mshyperv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/mshyperv.h b/arch/x86/include/asm/mshyperv.h
index 0d6271c..1d0a777 100644
--- a/arch/x86
Fix the comment in task_numa_fault() to avoid confusing.
Signed-off-by: Yi Wang
Reviewed-by: Xi Xu
---
kernel/sched/fair.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 908c9cd..6430c0a 100644
--- a/kernel/sched/fair.c
Fix the comment in task_numa_fault() to avoid confusing.
Signed-off-by: Yi Wang
Reviewed-by: Xi Xu
---
kernel/sched/fair.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 908c9cd..6430c0a 100644
--- a/kernel/sched/fair.c
by checking the load_balance_mask.
Signed-off-by: Yi Wang
Reviewed-by: Yi Liu
---
kernel/sched/fair.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 908c9cd..0fa0cee 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -1709,6
by checking the load_balance_mask.
Signed-off-by: Yi Wang
Reviewed-by: Yi Liu
---
kernel/sched/fair.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 908c9cd..0fa0cee 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -1709,6
n(), which won't be called before invoking
inject_emulated_exception() in the 6ea6e84309ca.
This patch fix this issue.
Signed-off-by: Yi Wang
Reviewed-by: Xi Xu
---
arch/x86/kvm/emulate.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm
n(), which won't be called before invoking
inject_emulated_exception() in the 6ea6e84309ca.
This patch fix this issue.
Signed-off-by: Yi Wang
Reviewed-by: Xi Xu
---
arch/x86/kvm/emulate.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm
Substitute spaces with tab. No functional changes.
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
arch/x86/kvm/vmx.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 46b428c0..ef712b2 100644
--- a/arch/x86
Substitute spaces with tab. No functional changes.
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
arch/x86/kvm/vmx.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 46b428c0..ef712b2 100644
--- a/arch/x86
Substitute spaces with tab before the call of function
dequeue_pushable_dl_task().
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
kernel/sched/deadline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 997ea7b
Substitute spaces with tab before the call of function
dequeue_pushable_dl_task().
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
kernel/sched/deadline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 997ea7b
The 'tbl' variable may leak when return in function
wq_numa_init(), and this patch fixes this.
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
kernel/workqueue.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 78b1920..9321a05 100644
The 'tbl' variable may leak when return in function
wq_numa_init(), and this patch fixes this.
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
kernel/workqueue.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 78b1920..9321a05 100644
Commit-ID: 843c408905010fbc44a564d2de6a3cd68d986abf
Gitweb: https://git.kernel.org/tip/843c408905010fbc44a564d2de6a3cd68d986abf
Author: Yi Wang
AuthorDate: Fri, 27 Jul 2018 14:15:03 +0800
Committer: Thomas Gleixner
CommitDate: Mon, 30 Jul 2018 19:56:30 +0200
x86/apic: Trivial coding
Commit-ID: 843c408905010fbc44a564d2de6a3cd68d986abf
Gitweb: https://git.kernel.org/tip/843c408905010fbc44a564d2de6a3cd68d986abf
Author: Yi Wang
AuthorDate: Fri, 27 Jul 2018 14:15:03 +0800
Committer: Thomas Gleixner
CommitDate: Mon, 30 Jul 2018 19:56:30 +0200
x86/apic: Trivial coding
There are two inconsistent indenting in calibrate_APIC_clock()
and activate_managed(). Remove the surplus TAB.
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
arch/x86/kernel/apic/apic.c | 2 +-
arch/x86/kernel/apic/vector.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff
There are two inconsistent indenting in calibrate_APIC_clock()
and activate_managed(). Remove the surplus TAB.
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
arch/x86/kernel/apic/apic.c | 2 +-
arch/x86/kernel/apic/vector.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff
Commit-ID: 6cd0c583b04b2bd9415e07b51b63ab799949dd66
Gitweb: https://git.kernel.org/tip/6cd0c583b04b2bd9415e07b51b63ab799949dd66
Author: Yi Wang
AuthorDate: Mon, 23 Jul 2018 12:19:07 +0800
Committer: Ingo Molnar
CommitDate: Wed, 25 Jul 2018 11:25:07 +0200
sched/topology: Check variable
Commit-ID: 6cd0c583b04b2bd9415e07b51b63ab799949dd66
Gitweb: https://git.kernel.org/tip/6cd0c583b04b2bd9415e07b51b63ab799949dd66
Author: Yi Wang
AuthorDate: Mon, 23 Jul 2018 12:19:07 +0800
Committer: Ingo Molnar
CommitDate: Wed, 25 Jul 2018 11:25:07 +0200
sched/topology: Check variable
dereference.
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
kernel/sched/topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index 5ac724b..c7cf87c 100644
--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
dereference.
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
kernel/sched/topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index 5ac724b..c7cf87c 100644
--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
Commit-ID: 30587589251a00974115e0815ac316980f48dbb5
Gitweb: https://git.kernel.org/tip/30587589251a00974115e0815ac316980f48dbb5
Author: Yi Wang
AuthorDate: Mon, 16 Jul 2018 14:08:57 +0800
Committer: Thomas Gleixner
CommitDate: Thu, 19 Jul 2018 16:52:40 +0200
timer: Fix coding style
Commit-ID: 30587589251a00974115e0815ac316980f48dbb5
Gitweb: https://git.kernel.org/tip/30587589251a00974115e0815ac316980f48dbb5
Author: Yi Wang
AuthorDate: Mon, 16 Jul 2018 14:08:57 +0800
Committer: Thomas Gleixner
CommitDate: Thu, 19 Jul 2018 16:52:40 +0200
timer: Fix coding style
From: Yi Wang
There are two tab at the end of function trigger_dyntick_cpu(),
so remove one and correct indentation.
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
kernel/time/timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/timer.c b/kernel/time
From: Yi Wang
There are two tab at the end of function trigger_dyntick_cpu(),
so remove one and correct indentation.
Signed-off-by: Yi Wang
Reviewed-by: Jiang Biao
---
kernel/time/timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/timer.c b/kernel/time
401 - 496 of 496 matches
Mail list logo