Re: [PATCH] mm/slab: One function call less in verify_redzone_free()

From: Christopher Lameter
Date: Fri Jul 05 2019 - 14:13:57 EST


On Fri, 5 Jul 2019, Markus Elfring wrote:

> Avoid an extra function call by using a ternary operator instead of
> a conditional statement for a string literal selection.

Well. I thought the compiler does that on its own? And the tenary operator
makes the code difficult to read.