Hi Zhenyu, I love your patch! Perhaps something to improve: [auto build test WARNING on vfio/next] [also build test WARNING on v5.4-rc4 next-20191025] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Zhenyu-Wang/VFIO-mdev-aggregated-resources-handling/20191027-111736 base: https://github.com/awilliam/linux-vfio.git next reproduce: # apt-get install sparse # sparse version: v0.6.1-dirty make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> sparse warnings: (new ones prefixed by >>) drivers/vfio/mdev/mdev_sysfs.c:96:1: sparse: sparse: symbol 'mdev_type_attr_create' was not declared. Should it be static? >> drivers/vfio/mdev/mdev_sysfs.c:108:1: sparse: sparse: symbol 'mdev_type_attr_aggregation' was not declared. Should it be static? Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation