On 2023/12/8 15:34, Gao Xiang wrote:



...

min_t(unsigned int, ,)?

../include/linux/minmax.h:21:28: error: comparison of distinct pointer types 
lacks a cast [-Werror]
   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))

What compiler version are you using? I didn't find any error
and
https://lore.kernel.org/linux-erofs/202312080122.iccxzsue-...@intel.com

also didn't report this.

Did you test against the latest kernel codebase?


Thanks,
Gao Xiang

Reply via email to