Thread (22 messages) 22 messages, 5 authors, 2021-11-04

Re: [Outreachy kernel] [PATCH 5/7] staging: vt6655: Rewrite conditional in AL7320 initialization

From: Karolina Drobnik <hidden>
Date: 2021-10-28 14:35:36
Also in: lkml

On Thu, 2021-10-28 at 14:36 +0200, Fabio M. De Francesco wrote:
As far as I know by reading some Greg K-H's replies to other
developers, this 
"<test> ? <true> : <false>" style is not well accepted here.
I thought that the expression is simple enough that it can be written
this way. Julia nicely summarised why I think it's a good usage of the
conditional operator. Still, there's no problem in changing it to "if-
else" statement if that's the preferred option.


Thanks,
Karolina
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help