From patchwork Wed Jun 23 14:31:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raffaele Recalcati X-Patchwork-Id: 107648 Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5NEY9Ee023190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 23 Jun 2010 14:34:45 GMT Received: from dlep36.itg.ti.com ([157.170.170.91]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id o5NEVlMj020324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Jun 2010 09:31:47 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id o5NEVkaD022495; Wed, 23 Jun 2010 09:31:46 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 1408080627; Wed, 23 Jun 2010 09:31:46 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id 9FC2380626 for ; Wed, 23 Jun 2010 09:31:44 -0500 (CDT) Received: from neches.ext.ti.com (localhost [127.0.0.1]) by dflp52.itg.ti.com (8.13.7/8.13.7) with ESMTP id o5NEVhpF028727 for ; Wed, 23 Jun 2010 09:31:44 -0500 (CDT) Received: from psmtp.com (na3sys009amx248.postini.com [74.125.149.132]) by neches.ext.ti.com (8.13.7/8.13.7) with SMTP id o5NEVgAC027982 for ; Wed, 23 Jun 2010 09:31:43 -0500 Received: from source ([209.85.161.173]) by na3sys009amx248.postini.com ([74.125.148.10]) with SMTP; Wed, 23 Jun 2010 14:31:43 GMT Received: by gxk25 with SMTP id 25so100993gxk.4 for ; Wed, 23 Jun 2010 07:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=82evTCa8EH+y5LSf5PK4JK6HIRltnwe0Y06Mmz0UHwI=; b=KthZQJLVZ6L2mqGc6WME3qwvpB4GroWU45smMyxyftQ4mnso/puNybmvAifxSior2B 0hbLoH25q7Va3dgvBVQ7xg4FkA3NFGcYnzQbepk9MXR2r9U7hbw5ohieZ61J3e8X1UGC FwRxShohGdnliC0kpY+g+wwJqD5p4qX+K7Pvo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=eJU7Qw37M/g7Sn0bsTzwzs91FdGIW35AkHIKj5BY3Et2kKXtPz4HQN+v2BalA1Lv+J qyauTmfJo8kgbT9k+7SjKB1axmf0fmrjog3FQiS17ipEU26xR5OraB+va1gHWwpIQEiN fxkra5opV+qOpamM/Y3adoEUEVByz7fzbxSXM= MIME-Version: 1.0 Received: by 10.150.240.8 with SMTP id n8mr7729386ybh.409.1277303501003; Wed, 23 Jun 2010 07:31:41 -0700 (PDT) Received: by 10.231.162.11 with HTTP; Wed, 23 Jun 2010 07:31:40 -0700 (PDT) In-Reply-To: <87aaqovwyr.fsf@deeprootsystems.com> References: <1276251594-5936-1-git-send-email-lamiaposta71@gmail.com> <87aaqovwyr.fsf@deeprootsystems.com> Date: Wed, 23 Jun 2010 16:31:40 +0200 Message-ID: Subject: Re: [PATCH 01/14] ASoC: DaVinci: Added support for stereo I2S From: Raffaele Recalcati To: Kevin Hilman X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.5000) s cv gt3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] Cc: davinci-linux-open-source@linux.davincidsp.com, Raffaele Recalcati X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 23 Jun 2010 14:34:47 +0000 (UTC) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index a4d7434..315a827 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1433,6 +1433,13 @@ sub process { WARN("please, no space before tabs\n" . $herevet); } +# check for spaces at the beginning of a line. + if ($rawline =~ /^\+ / && $rawline !~ /\+ +\*/) { + my $herevet = "$here\n" . cat_vet($rawline) . "\n"; + WARN("please, no space for starting a line, \ + excluding comments\n" . $herevet); + } + # check we are in a valid C source file if not then ignore this hunk next if ($realfile !~ /\.(h|c)$/);