Re: [PATCH net-next] net: socket: use BIT_MASK for MSG_*

2021-02-07 Thread Andy Shevchenko
On Sun, Feb 7, 2021 at 5:29 AM Menglong Dong wrote: > On Sat, Feb 6, 2021 at 4:20 PM Andy Shevchenko > wrote: > > On Saturday, February 6, 2021, wrote: > > It makes it more confusing if you understand the difference between > > BIT_MASK() and BIT(). I think you have to use the latter. And note

Re: [PATCH net-next] net: socket: use BIT_MASK for MSG_*

2021-02-06 Thread Menglong Dong
Hello! On Sat, Feb 6, 2021 at 4:20 PM Andy Shevchenko wrote: > > > > On Saturday, February 6, 2021, wrote: >> >> From: Menglong Dong >> >> The bit mask for MSG_* seems a little confused here. Replace it >> with BIT_MASK to make it clear to understand. > > > It makes it more confusing if you und

[PATCH net-next] net: socket: use BIT_MASK for MSG_*

2021-02-05 Thread menglong8 . dong
From: Menglong Dong The bit mask for MSG_* seems a little confused here. Replace it with BIT_MASK to make it clear to understand. Signed-off-by: Menglong Dong --- include/linux/socket.h | 71 ++ 1 file changed, 37 insertions(+), 34 deletions(-) diff --g