Hi all, I received a notification from the kernel test robot regarding my patch. It indicates that void check_steal_time_uapi() should be changed to void check_steal_time_uapi(void) to avoid a compiler warning.
I would like to wait for the reviewers’ feedback on this patch. If there are no issues aside from this warning, I will submit the final version addressing the compiler warning. If there are other suggestions, I will incorporate them accordingly. Thanks, Jiakai "kernel test robot" <[email protected]>写道: > Hi Jiakai, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on v6.19] > [cannot apply to kvm/queue kvm/next linus/master kvm/linux-next v7.0-rc1 > next-20260227] > [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/Jiakai-Xu/RISC-V-KVM-Validate-SBI-STA-shmem-alignment-in-kvm_sbi_ext_sta_set_reg/20260228-085648 > base: v6.19 > patch link: > https://lore.kernel.org/r/20260228005355.823048-3-xujiakai2025%40iscas.ac.cn > patch subject: [PATCH v9 2/3] KVM: selftests: Refactor UAPI tests into > dedicated function > config: arm64-allnoconfig-bpf > (https://download.01.org/0day-ci/archive/20260228/[email protected]/config) > compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0 > reproduce (this is a W=1 build): > (https://download.01.org/0day-ci/archive/20260228/[email protected]/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version > of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot <[email protected]> > | Closes: > https://lore.kernel.org/oe-kbuild-all/[email protected]/ > > All warnings (new ones prefixed by >>): > > >> steal_time.c:207:13: warning: function declaration isn't a prototype > >> [-Wstrict-prototypes] > 207 | static void check_steal_time_uapi() > | ^~~~~~~~~~~~~~~~~~~~~ > cc1: note: unrecognized command-line option > '-Wno-gnu-variable-sized-type-not-at-end' may have been intended to silence > earlier diagnostics > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki

