Re: [PATCH] RDMA/efa: Fix node guid compiler warning

Margolin, Michael
2024-09-26T20:04:10Z

On 9/26/2024 5:54 PM, Jason Gunthorpe wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
>
>
>
> On Thu, Sep 26, 2024 at 04:25:19PM +0300, Margolin, Michael wrote:
>
>> Actually that's wrong, the device always sets guid in BE order so no
>> swap is needed in the driver in any case.
> They you just mark it as _be64 in the struct and there is no reason
> for the __force ?
>
> Jason

That's probably the most correct way but I prefer to avoid introducing
kernel specific types in a shared interface file.

Michael