Re: [Bridge] [PATCH] net/bridge: replace simple_strtoul to kstrtol

2021-11-20 Thread David Laight
From: Bernard Zhao > Sent: 19 November 2021 02:07 > > simple_strtoull is obsolete, use kstrtol instead. I think the death announcement of simple_strtoull() has already been deemed premature. kstrtol() isn't a replacment in many cases. > Signed-off-by: Bernard Zhao > --- >

[Bridge] [PATCH] net/bridge: replace simple_strtoul to kstrtol

2021-11-20 Thread Bernard Zhao
simple_strtoull is obsolete, use kstrtol instead. Signed-off-by: Bernard Zhao --- net/bridge/br_sysfs_br.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c index d9a89ddd0331..11c490694296 100644 ---

[Bridge] [syzbot] BUG: TASK stack guard page was hit at ADDR (stack is ADDR..ADDR)

2021-11-20 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:cc0356d6a02e Merge tag 'x86_core_for_v5.16_rc1' of git://g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=108bb246b0 kernel config: https://syzkaller.appspot.com/x/.config?x=a5d447cdc3ae81d9

Re: [Bridge] [PATCH] net: bridge: Slightly optimize 'find_portno()'

2021-11-20 Thread Christophe JAILLET
Le 15/11/2021 à 13:35, Dan Carpenter a écrit : On Sun, Nov 14, 2021 at 08:02:35PM +0100, Christophe JAILLET wrote: The 'inuse' bitmap is local to this function. So we can use the non-atomic '__set_bit()' to save a few cycles. While at it, also remove some useless {}. I like the {} and tend

[Bridge] [PATCH] net: bridge: Slightly optimize 'find_portno()'

2021-11-20 Thread Christophe JAILLET
The 'inuse' bitmap is local to this function. So we can use the non-atomic '__set_bit()' to save a few cycles. While at it, also remove some useless {}. Signed-off-by: Christophe JAILLET --- net/bridge/br_if.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git