Re: [PATCH V2 03/10] accel/amdxdna: Add hardware resource solver
From: Jeffrey Hugo
Date: Fri Aug 09 2024 - 12:36:46 EST
On 8/5/2024 11:39 AM, Lizhi Hou wrote:
+int aie2_max_col = XRS_MAX_COL;
+module_param(aie2_max_col, int, 0600);
+MODULE_PARM_DESC(aie2_max_col, "Maximum column could be used");
I think you selected the wrong type. What happens if someone sets this
to a negative value?