linux-next: build failure after merge of the nvdimm tree
Subsystems (3)
Hi all,
After merging the nvdimm tree, today's linux-next build (x86_64 allmodconfig) failed like this:
In file included from <command-line>:32:./usr/include/linux/virtio_pmem.h:19:2: error: unknown type name 'uint64_t'
uint64_t start;
^~~~~~~~./usr/include/linux/virtio_pmem.h:20:2: error: unknown type name 'uint64_t'
uint64_t size;
^~~~~~~~
Caused by commit
403b7f973855 ("virtio-pmem: Add virtio pmem driver")
I have used the nvdimm tree from next-20190704 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen,
Quoted 14 lines
Hi all,
After merging the nvdimm tree, today's linux-next build (
x86_64allmodconfig) failed like this:In file included from :32:
./usr/include/linux/virtio_pmem.h:19:2: error: unknown type name 'uint64_t'
uint64_tstart;
^~~~~~~~./usr/include/linux/virtio_pmem.h:20:2: error: unknown type name 'uint64_t'
uint64_tsize;
^~~~~~~~
Quoted 5 lines
Caused by commit
403b7f973855("virtio-pmem: Add virtio pmem driver")I have used the nvdimm tree from next-20190704 for today.
Thank you for the report.
Can we apply below patch [1] on top to complete linux-next build for today. I have tested this locally.
Thanks,
Pankaj
========
[1]
drivers/nvdimm/virtio_pmem.h +2 -2
@@ -46,8 +46,8 @@ struct virtio_pmem {spinlock_t pmem_lock;/* Memory region information */ -uint64_t start; -uint64_t size; +u64 start; +u64 size; };void virtio_pmem_host_ack (struct virtqueue *vq);
include/uapi/linux/virtio_pmem.h +4 -5
@@ -11,25 +11,24 @@#define _UAPI_LINUX_VIRTIO_PMEM_H#include <linux/types.h> -#include <linux/virtio_types.h> #include <linux/virtio_ids.h> #include <linux/virtio_config.h> struct virtio_pmem_config { -uint64_t start; -uint64_t size; +__u64 start; +__u64 size; };#define VIRTIO_PMEM_REQ_TYPE_FLUSH 0struct virtio_pmem_resp {/* Host return status corresponding to flush request */ -__virtio32 ret; +__u32 ret; };struct virtio_pmem_req {/* command type */ -__virtio32 type; +__u32 type; };
Hi Pankaj,
Quoted 2 lines · On Fri, 5 Jul 2019 04:45:43 -0400 (EDT) Pankaj Gupta <[email protected]> wrote:
Thank you for the report.
That's what I am here for :-)
Quoted 2 lines
Can we apply below patch [1] on top to complete linux-next build for today. I have tested this locally.
Its a bit of a pain to go back and linux-next is done for today (after 13 hours :-)). You really should do a proper fix patch and get it added to the nvdimm tree.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 10 lines
Hi Pankaj,
Quoted 2 lines · On Fri, 5 Jul 2019 04:45:43 -0400 (EDT) Pankaj Gupta <[email protected]> wrote:
Thank you for the report.
That's what I am here for :-)
:-)
Quoted 7 lines
Quoted 3 lines
Can we apply below patch [1] on top to complete linux-next build for today. I have tested this locally.
Its a bit of a pain to go back and linux-next is done for today (after 13 hours :-)). You really should do a proper fix patch and get it added to the nvdimm tree.
Sure, Thank you! Stephen.
Best regards,
Pankaj
Quoted 5 lines
--
Cheers,
Stephen Rothwell
Quoted 6 lines · Stephen Rothwell
Hi all,
After merging the nvdimm tree, today's linux-next build (
x86_64allmodconfig) failed like this:
Quoted 7 lines
In file included from <command-line>:32:
./usr/include/linux/virtio_pmem.h:19:2: error: unknown type name 'uint64_t'
uint64_tstart;
^~~~~~~~./usr/include/linux/virtio_pmem.h:20:2: error: unknown type name 'uint64_t'
uint64_tsize;
^~~~~~~~
/me boggles at how this sat in 0day visible tree for a long while without this report?
Quoted 6 lines
Caused by commit
403b7f973855("virtio-pmem: Add virtio pmem driver")I have used the nvdimm tree from next-20190704 for today.
Thanks Stephen, sorry for the noise.
Hi Dan,
Quoted 14 lines · On Fri, 5 Jul 2019 15:32:19 -0700 Dan Williams <[email protected]> wrote:
Quoted 11 lines · Stephen Rothwell
After merging the nvdimm tree, today's linux-next build (
x86_64allmodconfig) failed like this:In file included from <command-line>:32:
./usr/include/linux/virtio_pmem.h:19:2: error: unknown type name 'uint64_t'
uint64_tstart;
^~~~~~~~./usr/include/linux/virtio_pmem.h:20:2: error: unknown type name 'uint64_t'
uint64_tsize;
^~~~~~~~
Quoted 2 lines
/me boggles at how this sat in 0day visible tree for a long while without this report?
These messages are produced by a new test in the kbuild tree, so you need both it and the nvdimm tree together to get them. That will change after the merge window, of course.
Signature · 2 lines
Cheers, Stephen Rothwell