[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <90aefca2-1799-4232-9db5-8d708f1e5f20@amd.com>
Date: Mon, 17 Mar 2025 15:24:47 -0700
From: "Nelson, Shannon" <shannon.nelson@....com>
To: Jason Gunthorpe <jgg@...dia.com>
Cc: andrew.gospodarek@...adcom.com, aron.silverton@...cle.com,
dan.j.williams@...el.com, daniel.vetter@...ll.ch, dave.jiang@...el.com,
dsahern@...nel.org, gregkh@...uxfoundation.org, hch@...radead.org,
itayavr@...dia.com, jiri@...dia.com, Jonathan.Cameron@...wei.com,
kuba@...nel.org, lbloch@...dia.com, leonro@...dia.com,
linux-cxl@...r.kernel.org, linux-rdma@...r.kernel.org,
netdev@...r.kernel.org, saeedm@...dia.com, brett.creeley@....com
Subject: Re: [PATCH v3 5/6] pds_fwctl: add rpc and query support
On 3/7/2025 3:38 PM, Jason Gunthorpe wrote:
>
> On Fri, Mar 07, 2025 at 10:53:28AM -0800, Shannon Nelson wrote:
>
>> +#define PDS_FWCTL_RPC_OPCODE_GET_CMD(op) FIELD_GET(PDS_FWCTL_RPC_OPCODE_CMD_MASK, op)
>> +#define PDS_FWCTL_RPC_OPCODE_GET_VER(op) FIELD_GET(PDS_FWCTL_RPC_OPCODE_VER_MASK, op)
>
> ../drivers/fwctl/pds/main.c:302:7: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 302 | if (PDS_FWCTL_RPC_OPCODE_CMP(rpc->in.op, op_entry[i].id)) {
>
> Add:
>
> #include <linux/bitfield.h>
>
> Jason
Odd that I didn't run into that... perhaps a .config difference.
Sure, I can add that.
sln
Powered by blists - more mailing lists