On Thu, Sep 25 2014, Hagen Paul Pfeifer wrote:
> On 25 September 2014 17:50, Michal Nazarewicz wrote:
>
>> - * @min: minimum allowable value
>> - * @max: maximum allowable value
>> + * @lo: minimum allowable value
>> + * @hi: maximum allowable value
>
> Ok, but why do you rename min/max to low/hi
On 25 September 2014 17:50, Michal Nazarewicz wrote:
> - * @min: minimum allowable value
> - * @max: maximum allowable value
> + * @lo: minimum allowable value
> + * @hi: maximum allowable value
Ok, but why do you rename min/max to low/high after so many years?
min/max is just perfect
Hagen
--
Instead of open-coding clamp_t macro min_t and max_t the way clamp
macro does and instead of open-coding clamp_val simply use clamp_t.
Furthermore, normalise argument naming in the macros to be lo and
hi.
Signed-off-by: Michal Nazarewicz
---
include/linux/kernel.h | 24 +++-
3 matches
Mail list logo