[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z_18VpePAHGj6vM7@aschofie-mobl2.lan>
Date: Mon, 14 Apr 2025 14:21:26 -0700
From: Alison Schofield <alison.schofield@...el.com>
To: <alejandro.lucero-palau@....com>
CC: <linux-cxl@...r.kernel.org>, <netdev@...r.kernel.org>,
<dan.j.williams@...el.com>, <edward.cree@....com>, <davem@...emloft.net>,
<kuba@...nel.org>, <pabeni@...hat.com>, <edumazet@...gle.com>,
<dave.jiang@...el.com>, Alejandro Lucero <alucerop@....com>
Subject: Re: [PATCH v13 00/22] Type2 device basic support
On Mon, Apr 14, 2025 at 04:13:14PM +0100, alejandro.lucero-palau@....com wrote:
> From: Alejandro Lucero <alucerop@....com>
Not able to make the cxl test module.
test/mem.c: In function ‘cxl_mock_mem_probe’:
linux/include/linux/stddef.h:8:14: warning: passing argument 3 of ‘cxl_memdev_state_create’ makes integer from pointer without a cast [-Wint-conversion]
8 | #define NULL ((void *)0)
| ^~~~~~~~~~~
| |
| void *
test/mem.c:1720:58: note: in expansion of macro ‘NULL’
1720 | mds = cxl_memdev_state_create(dev, pdev->id + 1, NULL);
| ^~~~
In file included from test/mem.c:14:
linux/drivers/cxl/cxlmem.h:742:54: note: expected ‘u16’ {aka ‘short unsigned int’} but argument is of type ‘void *’
742 | u16 dvsec);
| ~~~~^~~~~
test/mem.c:1721:15: error: too few arguments to function ‘cxl_memdev_state_create’
1721 | mds = cxl_memdev_state_create(dev);
| ^~~~~~~~~~~~~~~~~~~~~~~
linux/drivers/cxl/cxlmem.h:741:26: note: declared here
741 | struct cxl_memdev_state *cxl_memdev_state_create(struct device *dev, u64 serial,
| ^~~~~~~~~~~~~~~~~~~~~~~
snip
Powered by blists - more mailing lists