Re: [PATCH v14 NEW ALT 1/3] safemath: Add ALIGN_UP_OVF() that checks for {over,under}flow

2024-05-20 Thread Gao Xiang
Hi Daniel and all, On 2024/5/21 00:53, Daniel Kiper wrote: On Sun, May 19, 2024 at 11:48:24AM +0800, Gao Xiang wrote: The following EROFS patch will use this helper to handle overflow ALIGN_UP() cases. Signed-off-by: Gao Xiang I think Vladimir is right. Thanks for your confirmation! :-)

Re: [PATCH v14 NEW ALT 1/3] safemath: Add ALIGN_UP_OVF() that checks for {over,under}flow

2024-05-20 Thread Daniel Kiper via Grub-devel
On Sun, May 19, 2024 at 11:48:24AM +0800, Gao Xiang wrote: > The following EROFS patch will use this helper to handle overflow > ALIGN_UP() cases. > > Signed-off-by: Gao Xiang I think Vladimir is right. Reviewed-by: Daniel Kiper Please post v15 an I will merge it this week. Thank you for addi

[PATCH v14 NEW ALT 1/3] safemath: Add ALIGN_UP_OVF() that checks for {over, under}flow

2024-05-18 Thread Gao Xiang
The following EROFS patch will use this helper to handle overflow ALIGN_UP() cases. Signed-off-by: Gao Xiang --- Hi Daniel, I've also made another patch to conform Vladimir's and Boyang's comments as much as I can. Thanks, Gao Xiang include/grub/safemath.h | 16 1 file change