From: Mark Brown Date: Thu, 28 Aug 2025 19:45:00 +0000 (+0200) Subject: ASoC: use int type to store negative error codes X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=44e51457861edd47bea0f43fab4ed952fdd901f1;p=users%2Fhch%2Fmisc.git ASoC: use int type to store negative error codes Merge series from Qianfeng Rong : The 'ret' variable usually is used to store returns from some functions, which return either zero on success or negative error codes on failure. Storing the negative error codes in unsigned type, doesn't cause an issue at runtime but it's ugly as pants. Additionally, assigning negative error codes to unsigned type may trigger a GCC warning when the -Wsign-conversion flag is enabled. Change "ret" from u32/unsigned int to int type. No effect on runtime. --- 44e51457861edd47bea0f43fab4ed952fdd901f1