[PATCH] Documentation: kvm: fix a typo

2020-10-02 Thread Li Qiang
Fixes: 9824c83f92bc8 ("Documentation: kvm: document CPUID bit for MSR_KVM_POLL_CONTROL") Signed-off-by: Li Qiang --- Documentation/virt/kvm/cpuid.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/cpuid.rst b/Documentation/virt/kvm/cpuid

[PATCH] Documentation: kvm: fix a typo

2020-10-01 Thread Li Qiang
Fixes: e287d6de62f74 ("Documentation: kvm: Convert cpuid.txt to .rst") Signed-off-by: Li Qiang --- Documentation/virt/kvm/cpuid.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/cpuid.rst b/Documentation/virt/kvm/cpuid.rst index a7

[PATCH] cpuidle-haltpoll: fix error comments in arch_haltpoll_disable

2020-09-24 Thread Li Qiang
The 'arch_haltpoll_disable' is used to disable guest halt poll. Correct the comments. Fixes: a1c4423b02b21 ("cpuidle-haltpoll: disable host side polling when kvm virtualized") Signed-off-by: Li Qiang --- arch/x86/kernel/kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] vhost-vdpa: fix memory leak in error path

2020-09-18 Thread Li Qiang
Any status update? Thanks, Li Qiang Li Qiang 于2020年9月9日周三 下午11:42写道: > > Free the 'page_list' when the 'npages' is zero. > > Signed-off-by: Li Qiang > --- > drivers/vhost/vdpa.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/dri

[PATCH] vhost-vdpa: fix memory leak in error path

2020-09-09 Thread Li Qiang
Free the 'page_list' when the 'npages' is zero. Signed-off-by: Li Qiang --- drivers/vhost/vdpa.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c index 3fab94f88894..6a9fcaf1831d 100644 --- a/drivers/vhost/vdpa.c +++ b

[PATCH] vfio: fix potential memory leak in vfio_msi_cap_len

2018-08-27 Thread Li Qiang
Free the vdev->msi_perm in error path. Signed-off-by: Li Qiang --- drivers/vfio/pci/vfio_pci_config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c index 115a36f6f403..62023b4a373b 100

[PATCH] vfio: fix potential memory leak in vfio_msi_cap_len

2018-08-27 Thread Li Qiang
Free the vdev->msi_perm in error path. Signed-off-by: Li Qiang --- drivers/vfio/pci/vfio_pci_config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c index 115a36f6f403..62023b4a373b 100

[PATCH] ia64: pgtable.h: fix a comment typo

2018-05-30 Thread Li Qiang
Signed-off-by: Li Qiang --- arch/ia64/include/asm/pgtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/include/asm/pgtable.h b/arch/ia64/include/asm/pgtable.h index 165827774bea..2cccfbb23c2d 100644 --- a/arch/ia64/include/asm/pgtable.h +++ b/arch/ia64/include

[PATCH] ia64: pgtable.h: fix a comment typo

2018-05-30 Thread Li Qiang
Signed-off-by: Li Qiang --- arch/ia64/include/asm/pgtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/include/asm/pgtable.h b/arch/ia64/include/asm/pgtable.h index 165827774bea..2cccfbb23c2d 100644 --- a/arch/ia64/include/asm/pgtable.h +++ b/arch/ia64/include

[PATCH] fs.h: fix outdated comment about file flags

2018-05-17 Thread Li Qiang
The __dentry_open function was removed in commit <2a027e7a18738>("fold __dentry_open() into its sole caller"). Signed-off-by: Li Qiang <liq...@gmail.com> --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fs.h b/in

[PATCH] fs.h: fix outdated comment about file flags

2018-05-17 Thread Li Qiang
The __dentry_open function was removed in commit <2a027e7a18738>("fold __dentry_open() into its sole caller"). Signed-off-by: Li Qiang --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fs.h b/include/linux/fs.h in

[PATCH] Documentation: DocBook: kgdb: update CONFIG_STRICT_KERNEL_RWX info

2017-04-18 Thread Li Qiang
CONFIG_STRICT_KERNEL_RWX is no longer selectable on most architectures. Update this info to the documentation. Signed-off-by: Li Qiang <liqiang...@360.cn> --- Documentation/DocBook/kgdb.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/DocBook/kgdb.

[PATCH] Documentation: DocBook: kgdb: update CONFIG_STRICT_KERNEL_RWX info

2017-04-18 Thread Li Qiang
CONFIG_STRICT_KERNEL_RWX is no longer selectable on most architectures. Update this info to the documentation. Signed-off-by: Li Qiang --- Documentation/DocBook/kgdb.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/DocBook/kgdb.tmpl b/Documentation