Re: [PATCH 4/7] USB: serial: ftdi_sio: Do not reset baudrate to 9600 on error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 12 Jul 2022 13:28:17 +0200
m.brock@xxxxxxxxxxxxx wrote:

> Andy Shevchenko schreef op 2022-07-08 17:51:
> >> +                       baud = old_baud ? old_baud : 9600;  
> > 
> > Can be written as
> > 
> >   baud = old_baud ?: 9600;  
> 
> That is invalid C !
> This is a GCC extension.

Kernel is saturated with usage of GCC extensions.



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux