From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932120AbbJHKbY (ORCPT ); Thu, 8 Oct 2015 06:31:24 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:49345 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932091AbbJHKbX (ORCPT ); Thu, 8 Oct 2015 06:31:23 -0400 Date: Thu, 8 Oct 2015 11:31:01 +0100 From: Mark Brown To: yalin wang Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Message-ID: <20151008103101.GX12635@sirena.org.uk> References: <1444278242-27382-1-git-send-email-yalin.wang2010@gmail.com> <20151008081546.GS12635@sirena.org.uk> <01FEC116-5790-4E03-BC16-D258401D05E0@gmail.com> <31A5ED34-0EE0-43A3-8F01-E7A5FE28CAA3@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="R7Cw32JRT2J/IcDG" Content-Disposition: inline In-Reply-To: <31A5ED34-0EE0-43A3-8F01-E7A5FE28CAA3@gmail.com> X-Cookie: Walk softly and carry a megawatt laser. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 89.101.192.72 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [RFC] regmap: change bool to 1 bit variable in struct regmap X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --R7Cw32JRT2J/IcDG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 08, 2015 at 04:42:42PM +0800, yalin wang wrote: > i also found lots of code use this wrong coding style by search source code : > $ egrep -H ' : [0-9]+' `find . -name *.h` | grep -v '?' > ~/result.txt Mostly old and/or obscure code, or code that's shared with other things. --R7Cw32JRT2J/IcDG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWFkXgAAoJECTWi3JdVIfQbeoH/jdZU/ppkh5vGDRRBrLMrSFi 3LEiLrNMxgRwGjhX76Anxo6IJnqovtNWCcdCRbPZ2lcerPOMeBwTJbM32oOr8wSM iGy1DP44MXZLygCcAT5WZjSDpGCly+Fv8IcbryCwy1y6tHsaJgWw7n+cV2mVImTS kKbtGp6EEoYT66GLH2vhZcX0Fej8mf7EW5zmkxpqslCblEF2aS20ZIV4JuL5vAoF yhP+4GBc9kLF5bzuBwn8p5eG28smS5v8H8O1ZtuJj6UyecilAcaJqB4WD1C/XD1Q eDU1L+XJxDwRKKm+haRpaIZKbtxGjEKtMt5kcqTVl806zIcXQmsHxPaBUoQhx04= =hBnu -----END PGP SIGNATURE----- --R7Cw32JRT2J/IcDG--