Re: [PATCH v5 30/30] LoongArch: KVM: Supplement kvm document about loongarch-specific part

From: kernel test robot
Date: Sun Apr 09 2023 - 21:37:10 EST


Hi Tianrui,

kernel test robot noticed the following build warnings:

[auto build test WARNING on kvm/queue]
[also build test WARNING on linus/master v6.3-rc6 next-20230406]
[cannot apply to kvm/linux-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Tianrui-Zhao/LoongArch-KVM-Add-kvm-related-header-files/20230407-100816
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
patch link: https://lore.kernel.org/r/20230407020003.3651096-31-zhaotianrui%40loongson.cn
patch subject: [PATCH v5 30/30] LoongArch: KVM: Supplement kvm document about loongarch-specific part
reproduce:
# https://github.com/intel-lab-lkp/linux/commit/a4ea2786cae9b2350b1aed613edcc003ce93cfc2
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Tianrui-Zhao/LoongArch-KVM-Add-kvm-related-header-files/20230407-100816
git checkout a4ea2786cae9b2350b1aed613edcc003ce93cfc2
make menuconfig
# enable CONFIG_COMPILE_TEST, CONFIG_WARN_MISSING_DOCUMENTS, CONFIG_WARN_ABI_ERRORS
make htmldocs

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202304100944.xF4XkTAE-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> Documentation/virt/kvm/api.rst:423: WARNING: Literal block ends without a blank line; unexpected unindent.

vim +423 Documentation/virt/kvm/api.rst

399
400 /* x86 */
401 struct kvm_regs {
402 /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */
403 __u64 rax, rbx, rcx, rdx;
404 __u64 rsi, rdi, rsp, rbp;
405 __u64 r8, r9, r10, r11;
406 __u64 r12, r13, r14, r15;
407 __u64 rip, rflags;
408 };
409
410 /* mips */
411 struct kvm_regs {
412 /* out (KVM_GET_REGS) / in (KVM_SET_REGS) */
413 __u64 gpr[32];
414 __u64 hi;
415 __u64 lo;
416 __u64 pc;
417 };
418
419 /* loongarch */
420 struct kvm_regs {
421 unsigned long gpr[32];
422 unsigned long pc;
> 423 };
424
425

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests