Re: [PATCH] overflow.h: Rename __ab_c_size() to __calc_size()

From: Rasmus Villemoes
Date: Fri Apr 05 2019 - 02:31:32 EST


On 05/04/2019 06.57, Borislav Petkov wrote:
> From: Borislav Petkov <bp@xxxxxxx>
>
> ... to make its name readable to humans so that it can denote what that helper does.

I like the current color. It computes a*b+c with overflow checking at each step. calc_size is
way too generic and doesn't say anything at all about how the calc(ulation) is done.

Rasmus