> From: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxx> > Sent: Wednesday, February 16, 2022 5:53 PM > To: Linyu Yuan (QUIC) <quic_linyyuan@xxxxxxxxxxx>; Mathias Nyman > <mathias.nyman@xxxxxxxxx>; Greg Kroah-Hartman > <gregkh@xxxxxxxxxxxxxxxxxxx> > Cc: linux-usb@xxxxxxxxxxxxxxx; Jack Pham (QUIC) <quic_jackp@xxxxxxxxxxx> > Subject: Re: [PATCH 1/5] usb: host: xhci: use ffs() in xhci_mem_init() > > On 2/16/22 12:47 PM, Linyu Yuan (QUIC) wrote: > > > that's correct, from my view, one line is good, > > > > What's your suggestion ? two lines ? > > Yes, and it is not just my suggestion -- it's the kernel coding style. I think in linux, there are many code like this, arch/m68k/sun3x/dvma.c: if((pmd = pmd_alloc(&init_mm, pud, vaddr)) == NULL) { ... Two lines here is not good. > > [...] > > MBR, Sergey