Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753423Ab3IXKy5 (ORCPT ); Tue, 24 Sep 2013 06:54:57 -0400 Received: from purkki.adurom.net ([80.68.90.206]:54699 "EHLO purkki.adurom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757Ab3IXKyx (ORCPT ); Tue, 24 Sep 2013 06:54:53 -0400 From: Kalle Valo To: Peter Senna Tschudin Cc: Larry.Finger@lwfinger.net, chaoming_li@realsil.com.cn, linville@tuxdriver.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 12/19] wireless: Change variable type to bool References: <1379802471-30252-1-git-send-email-peter.senna@gmail.com> <1379802471-30252-12-git-send-email-peter.senna@gmail.com> Date: Tue, 24 Sep 2013 13:54:49 +0300 In-Reply-To: <1379802471-30252-12-git-send-email-peter.senna@gmail.com> (Peter Senna Tschudin's message of "Sun, 22 Sep 2013 00:27:44 +0200") Message-ID: <87wqm6sd52.fsf@purkki.adurom.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 889 Lines: 33 Peter Senna Tschudin writes: > The variable continual is only assigned the values true and false. > Change its type to bool. > > The simplified semantic patch that find this problem is as > follows (http://coccinelle.lip6.fr/): > > @exists@ > type T; > identifier b; > @@ > - T > + bool > b = ...; > ... when any > b = \(true\|false\) > > Signed-off-by: Peter Senna Tschudin > --- > drivers/net/wireless/rtlwifi/efuse.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Please prefix the patch title with "rtlwifi:". We use "wireless:" for changes to net/wireless. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/