[PATCH v6 1/5] net: wan: Add support for QMC HDLC

Jakub Kicinski kuba at kernel.org
Thu Mar 7 03:22:59 AEDT 2024


On Wed, 6 Mar 2024 15:38:10 +0200 Andy Shevchenko wrote:
> > It's minor, but you can avoid conditionals doing something like:
> > 
> > 		netdev->stats.rx_over_errors += !!(flags & QMC_RX_FLAG_HDLC_OVF);  
> 
> This is harder to read. 

+1


More information about the Linuxppc-dev mailing list