public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Riku Voipio <riku.voipio@iki.fi>
To: "Woodruff, Richard" <r-woodruff2@ti.com>
Cc: Felipe Contreras <felipe.contreras@gmail.com>,
	Tony Lindgren <tony@atomide.com>,
	Hiroshi DOYU <Hiroshi.DOYU@nokia.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"soni.trilok@gmail.com" <soni.trilok@gmail.com>,
	"Kanigeri, Hari" <h-kanigeri2@ti.com>,
	"Ramirez Luna, Omar" <x00omar@ti.com>,
	"Gupta, Ramesh" <grgupta@ti.com>,
	"felipe.contreras@nokia.com" <felipe.contreras@nokia.com>,
	"Pasam, Vijay" <vpasam@ti.com>
Subject: Re: [RFC] Port TI DSP BRIDGE for a new dedicated branch in linux-omap
Date: Mon, 18 Aug 2008 12:13:05 +0300	[thread overview]
Message-ID: <20080818091305.GA23078@kos.to> (raw)
In-Reply-To: <13B9B4C6EF24D648824FF11BE8967162036210E46B@dlee02.ent.ti.com>

On Fri, Aug 15, 2008 at 03:16:29PM -0500, Woodruff, Richard wrote:
> Checkpatch.pl is just a guide.  Completely changing code for the tool isn't probably a good idea. It might even get you severally flamed on LKML :)  The recent threads are informative (ok to read, bad to be in).

> Incidentally, when I asked the person working these changes, they had reported 0 functional errors had been fixed by the checkpatch changes.  A lot of the noise was typedef reduction.

I don't think completly fair complaint.

checkpatch.pl is only meant to check that patches comply to the kernel
Coding style. For a huge project such as Linux kernel, all code must
be written in uniform style. DSP bridge has probably been written
following TI's internal codingstyle documents, and as a first step
it needs to be converted to follow the Linux codingstyle.

checkpatch not a static analysing tool, which would be
neccessary for uncovering functional errors. For that we have sparse,
and mainline kernel gets regularry checked with the coverity scanner.

Focusing on checkpatch errors is a bit deceptive. It is
perfectly possible to be "checkpatch clean" yet the code
has lots of issues left. For example checkpatch cannot tell
that CSL_Strlen() can be replaced with strlen() from kernel.



-- 
"rm -rf" only sounds scary if you don't have backups

  parent reply	other threads:[~2008-08-18  9:13 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15  6:46 [RFC] Port TI DSP BRIDGE for a new dedicated branch in linux-omap Hiroshi DOYU
2008-08-15  6:46 ` [PATCH 01/10] TI DSP BRIDGE: Kconfig Entry Hiroshi DOYU
     [not found]   ` <1218782824-12596-3-git-send-email-Hiroshi.DOYU@nokia.com>
     [not found]     ` <1218782824-12596-4-git-send-email-Hiroshi.DOYU@nokia.com>
2008-08-15  6:46       ` [PATCH 04/10] TI DSP BRIDGE: Generic Utilities Hiroshi DOYU
     [not found]         ` <1218782824-12596-6-git-send-email-Hiroshi.DOYU@nokia.com>
     [not found]           ` <1218782824-12596-7-git-send-email-Hiroshi.DOYU@nokia.com>
     [not found]             ` <1218782824-12596-8-git-send-email-Hiroshi.DOYU@nokia.com>
     [not found]               ` <1218782824-12596-9-git-send-email-Hiroshi.DOYU@nokia.com>
     [not found]                 ` <1218782824-12596-10-git-send-email-Hiroshi.DOYU@nokia.com>
2008-08-15  6:47                   ` [PATCH 10/10] TI DSP BRIDGE: README Hiroshi DOYU
2008-08-15  7:52 ` [RFC] Port TI DSP BRIDGE for a new dedicated branch in linux-omap Trilok Soni
2008-08-15  9:47   ` Felipe Contreras
2008-08-15 10:34     ` Hiroshi DOYU
2008-08-15 11:21       ` Tony Lindgren
2008-08-15 12:22         ` Hiroshi DOYU
2008-08-15 16:01         ` Woodruff, Richard
2008-08-15 17:32           ` Syed Mohammed, Khasim
2008-08-15 19:03             ` Trilok Soni
2008-08-15 19:20           ` Felipe Contreras
2008-08-15 19:28             ` Felipe Contreras
2008-08-15 20:16               ` Woodruff, Richard
2008-08-15 21:09                 ` Felipe Contreras
2008-08-15 21:59                   ` Pasam, Vijay
2008-08-16  9:57                     ` Felipe Contreras
2008-08-18  7:56                       ` Tony Lindgren
2008-08-18  8:26                         ` Trilok Soni
2008-08-18 10:15                           ` Hiroshi DOYU
2008-08-18 13:06                           ` Tony Lindgren
2008-08-18 10:43                         ` Hiroshi DOYU
2008-08-18  9:13                 ` Riku Voipio [this message]
2008-08-18 10:22                   ` Hiroshi DOYU
2008-08-18 15:53                   ` Kanigeri, Hari
2008-08-19  5:53                     ` Hiroshi DOYU
2008-08-15 21:32               ` Hunter, Jon
2008-08-16  9:26                 ` Felipe Contreras
2008-08-15 20:48           ` Hiroshi DOYU
2008-08-18 13:12             ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080818091305.GA23078@kos.to \
    --to=riku.voipio@iki.fi \
    --cc=Hiroshi.DOYU@nokia.com \
    --cc=felipe.contreras@gmail.com \
    --cc=felipe.contreras@nokia.com \
    --cc=grgupta@ti.com \
    --cc=h-kanigeri2@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=r-woodruff2@ti.com \
    --cc=soni.trilok@gmail.com \
    --cc=tony@atomide.com \
    --cc=vpasam@ti.com \
    --cc=x00omar@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox