runner/settings: Use wrapper macros for each type
Simplify assigning the variables by using functions called by wrapper macros. This avoids calling atoi() on every iteration and will help future refactors on functions parsing the values. The pointer to the value is passed to the parse function since it will be useful later when parsing a string and leaking it to the settings struct rather than duplicating. Reviewed-by:Gustavo Sousa <gustavo.sousa@intel.com> Tested-by:
Peter Senna Tschudin <peter.senna@linux.intel.com> Reviewed-by:
Peter Senna Tschudin <peter.senna@linux.intel.com> Link: https://lore.kernel.org/r/20250207231039.2883195-6-lucas.demarchi@intel.com Signed-off-by:
Lucas De Marchi <lucas.demarchi@intel.com>
Please register or sign in to comment