Re: [PATCH] signal: Don't init struct kernel_siginfo fields to zero again

2020-12-21 Thread Leesoo Ahn
On Sun, Dec 20, 2020 at 03:21:35PM +0100, Oleg Nesterov wrote: On 12/20, Leesoo Ahn wrote: clear_siginfo() is responsible for clearing struct kernel_siginfo object. It's obvious that manually initializing those fields is needless as a commit[1] explains why the function introduced and i

[PATCH] signal: Don't init struct kernel_siginfo fields to zero again

2020-12-19 Thread Leesoo Ahn
ignal: Introduce clear_siginfo") Signed-off-by: Leesoo Ahn --- kernel/signal.c | 21 - 1 file changed, 21 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c index 5736c55aaa1a..8f49fa3ade33 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -603,10 +603,7 @@ s

[PATCH] net: xdp: Give compiler __always_inline hint for xdp_rxq_info_init()

2020-11-30 Thread Leesoo Ahn
The function has only a statement of calling memset() to clear xdp_rxq object. Let it always be an inline function. Signed-off-by: Leesoo Ahn --- net/core/xdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/xdp.c b/net/core/xdp.c index 48aba933a5a8..dab72b9a71a1

Re: [PATCH] rt2x00: Use fallthrough pseudo-keyword macro

2020-09-02 Thread Leesoo Ahn
20. 9. 2. 오후 11:20에 Gustavo A. R. Silva 이(가) 쓴 글: On 9/2/20 08:05, Leesoo Ahn wrote: Replace all '/* fall through */' comments with the macro[1]. [1]: https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through This looks familiar

[PATCH] rt2x00: Use fallthrough pseudo-keyword macro

2020-09-02 Thread Leesoo Ahn
Replace all '/* fall through */' comments with the macro[1]. [1]: https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Leesoo Ahn --- .../net/wireless/ralink/rt2x00/rt2400pci.c| 3 ++- .../net/wireless/ralink

[PATCH] pktgen: fix error message with wrong function name

2020-09-01 Thread Leesoo Ahn
Error on calling kthread_create_on_node prints wrong function name, kernel_thread. Signed-off-by: Leesoo Ahn --- net/core/pktgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 95f4c6b8f51a..44fdbb9c6e53 100644 --- a/net/core