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

From: Jakub Kicinski
Date: Wed Mar 06 2024 - 11:23:12 EST


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