Re: [PATCH v1 02/11] virtio-mem: Paravirtualized memory hotplug
From: David Hildenbrand <hidden>
Date: 2020-03-03 08:06:52
Also in:
kvm, linux-acpi, linux-mm, lkml, oe-kbuild-all
On 03.03.20 03:24, kbuild test robot wrote:
Hi David, I love your patch! Yet something to improve: [auto build test ERROR on pm/linux-next] [also build test ERROR on linus/master v5.6-rc4 next-20200302] [cannot apply to linux/master mmotm/master] [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/David-Hildenbrand/virtio-mem-paravirtualized-memory/20200303-020852 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: x86_64-randconfig-s1-20200303 (attached as .config) compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <redacted> All errors (new ones prefixed by >>): In file included from <command-line>:1:0:quoted
quoted
./usr/include/linux/virtio_mem.h:185:2: error: unknown type name 'uint32_t'uint32_t block_size; ^quoted
quoted
./usr/include/linux/virtio_mem.h:187:2: error: unknown type name 'uint16_t'uint16_t node_id; ^ ./usr/include/linux/virtio_mem.h:188:2: error: unknown type name 'uint16_t' uint16_t padding; ^quoted
quoted
./usr/include/linux/virtio_mem.h:190:2: error: unknown type name 'uint64_t'uint64_t addr; ^ ./usr/include/linux/virtio_mem.h:192:2: error: unknown type name 'uint64_t' uint64_t region_size; ^ ./usr/include/linux/virtio_mem.h:198:2: error: unknown type name 'uint64_t' uint64_t usable_region_size; ^ ./usr/include/linux/virtio_mem.h:203:2: error: unknown type name 'uint64_t' uint64_t plugged_size; ^ ./usr/include/linux/virtio_mem.h:205:2: error: unknown type name 'uint64_t' uint64_t requested_size; ^
Right, these have to be __u64 and friends. Should really enable CONFIG_UAPI_HEADER_TEST in my default config. -- Thanks, David / dhildenb