On Wed, 2018-12-05 at 10:36 -0800, Cong Wang wrote:
> On Tue, Dec 4, 2018 at 10:27 PM Saeed Mahameed <sae...@mellanox.com>
> wrote:
> > diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h
> > b/drivers/net/ethernet/mellanox/mlx5/core/en.h
> > index a429553002a6..49e90ac5dc8b 100644
> > --- a/drivers/net/ethernet/mellanox/mlx5/core/en.h
> > +++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h
> ...
> >  #define MLX5E_SET_PFLAG(params, pflag, enable)                 \
> >         do {                                                    \
> >                 if (enable)                                     \
> > -                       (params)->pflags |= (pflag);            \
> > +                       (params)->pflags |= BIT(pflag);         \
> >                 else                                            \
> > -                       (params)->pflags &= ~(pflag);           \
> > +                       (params)->pflags &= ~(BIT(pflag));      \
> >         } while (0)
> > 
> 
> Please #include <linux/bits.h> explicitly.

Ok, will fix in V2

> 
> Thanks.

Reply via email to