Re: [PATCH 4/5] erofs: refine z_erofs_transform_plain() for sub-page block support

From: Gao Xiang
Date: Fri Dec 08 2023 - 02:44:45 EST




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-lkp@xxxxxxxxx

also didn't report this.

Did you test against the latest kernel codebase?


Thanks,
Gao Xiang