Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932202Ab2JVV6v (ORCPT ); Mon, 22 Oct 2012 17:58:51 -0400 Received: from us-mx3.synaptics.com ([12.239.217.85]:27164 "EHLO us-mx3.synaptics.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756219Ab2JVV6u (ORCPT ); Mon, 22 Oct 2012 17:58:50 -0400 Message-ID: <5085C197.7020906@synaptics.com> Date: Mon, 22 Oct 2012 14:58:47 -0700 From: Christopher Heiny Organization: Synaptics, Inc User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: Joe Perches CC: Dmitry Torokhov , Jean Delvare , Linux Kernel , Linux Input , Allie Xiong , Vivian Ly , Daniel Rosenberg , Joerie de Gram , Wolfram Sang , Mathieu Poirier , Linus Walleij , Naveen Kumar Gaddipati , Alexandra Chin Subject: Re: [RFC PATCH 02/06] input/rmi4: Core files References: <1349496603-20775-1-git-send-email-cheiny@synaptics.com> <1349496603-20775-3-git-send-email-cheiny@synaptics.com> ,<1349525982.2008.86.camel@joe-AO722> <1349924771.2243.16.camel@joe-AO722> In-Reply-To: <1349924771.2243.16.camel@joe-AO722> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1098 Lines: 33 On 10/10/2012 08:06 PM, Joe Perches wrote: > On Thu, 2012-10-11 at 02:49 +0000, Christopher Heiny wrote: >> Joe Perches wrote: > [] >>>> + list_for_each_entry(entry, &data->rmi_functions.list, list) >>>> + if (entry->irq_mask) >>>> + process_one_interrupt(entry, irq_status, >>>> + data); >>> >>> style nit, it'd be nicer with braces. >> >> I agree with you, but checkpatch.pl doesn't. :-( > > Sure it does. > > $ cat t.c > { > list_for_each_entry(entry, &data->rmi_functions.list, list) { > if (entry->irq_mask) > process_one_interrupt(entry, irq_status, data); > } > } > $ ./scripts/checkpatch.pl --strict -f t.c > total: 0 errors, 0 warnings, 0 checks, 7 lines checked > > t.c has no obvious style problems and is ready for submission. I stand corrected. Thanks! -- 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/