On Fri, 5 Jul 2019, Christopher Lameter wrote:
> 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 o
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.
From: Markus Elfring
Date: Fri, 5 Jul 2019 16:40:09 +0200
Avoid an extra function call by using a ternary operator instead of
a conditional statement for a string literal selection.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
mm/slab.c | 8 -
From: Markus Elfring
Date: Fri, 5 Jul 2019 16:40:09 +0200
Avoid an extra function call by using a ternary operator instead of
a conditional statement for a string literal selection.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
mm/slab.c | 8 -
4 matches
Mail list logo