From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753525AbcBBHzs (ORCPT ); Tue, 2 Feb 2016 02:55:48 -0500 Received: from a.ns.miles-group.at ([95.130.255.143]:11949 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751261AbcBBHzq (ORCPT ); Tue, 2 Feb 2016 02:55:46 -0500 Subject: Re: [PATCH] signal: use sizeof() instead of sizeof To: Wei Tang , akpm@linux-foundation.org, oleg@redhat.com References: <1454398517-10631-1-git-send-email-tangwei@cmss.chinamobile.com> Cc: amanieu@gmail.com, dave@stgolabs.net, vdavydov@parallels.com, palmer@dabbelt.com, linux-kernel@vger.kernel.org From: Richard Weinberger Message-ID: <56B060FB.90406@nod.at> Date: Tue, 2 Feb 2016 08:55:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1454398517-10631-1-git-send-email-tangwei@cmss.chinamobile.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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