Re: [PATCH 1/2] accel/amdxdna: Remove casting mailbox payload pointer

2025-01-13 Thread Mario Limonciello
On 1/13/2025 12:26, Lizhi Hou wrote: The mailbox payload pointer is void __iomem *. Casting it to u32 * is incorrect and causes sparse warning. cast removes address space '__iomem' of expression Fixes: b87f920b9344 ("accel/amdxdna: Support hardware mailbox") Reported-by: kernel test robot Cl

[PATCH 1/2] accel/amdxdna: Remove casting mailbox payload pointer

2025-01-13 Thread Lizhi Hou
The mailbox payload pointer is void __iomem *. Casting it to u32 * is incorrect and causes sparse warning. cast removes address space '__iomem' of expression Fixes: b87f920b9344 ("accel/amdxdna: Support hardware mailbox") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild