Re: 答复: [PATCH] signal: use sizeof() instead of sizeof

2016-02-02 Thread Richard Weinberger
Am 02.02.2016 um 09:08 schrieb Wei Tang: > This is a simple patch, just to clear up the output from checkpatch.pl > script, otherwise, we will get WARNING always. This does not answer my question. What problem does it fix? How does your patch make the kernel better? Doing patches just because of

Re: [PATCH] signal: use sizeof() instead of sizeof

2016-02-01 Thread Richard Weinberger
Hi! Am 02.02.2016 um 08:35 schrieb Wei Tang: > This patch fixes the checkpatch.pl warning to signal.c: > > WARNING: sizeof info should be sizeof(info) And why is this patch needed? What problem does it fix? Complex expressions should be within parents but in this case it is IMHO perfectly fine.

[PATCH] signal: use sizeof() instead of sizeof

2016-02-01 Thread Wei Tang
This patch fixes the checkpatch.pl warning to signal.c: WARNING: sizeof info should be sizeof(info) Signed-off-by: Wei Tang --- kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/signal.c b/kernel/signal.c index f3f1f7a..13b267a 100644 --- a/kernel/signal