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

From: Richard Weinberger
Date: Tue Feb 02 2016 - 02:55:51 EST


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.

Thanks,
//richard