Re: [PATCH V1 1/2] accel/amdxdna: Add zero check for pad in ioctl input structures

2024-12-17 Thread Mario Limonciello
On 12/17/2024 10:54, Lizhi Hou wrote: For input ioctl structures, it is better to check if the pad is zero. Thus, the pad bytes might be usable in the future. Suggested-by: Jeffrey Hugo Signed-off-by: Lizhi Hou Reviewed-by: Mario Limonciello --- drivers/accel/amdxdna/aie2_ctx.c | 3

[PATCH V1 1/2] accel/amdxdna: Add zero check for pad in ioctl input structures

2024-12-17 Thread Lizhi Hou
For input ioctl structures, it is better to check if the pad is zero. Thus, the pad bytes might be usable in the future. Suggested-by: Jeffrey Hugo Signed-off-by: Lizhi Hou --- drivers/accel/amdxdna/aie2_ctx.c | 3 +++ drivers/accel/amdxdna/aie2_message.c | 3 +++ drivers/accel/amdxdna/am