Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756863AbbDVLIb (ORCPT ); Wed, 22 Apr 2015 07:08:31 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:36252 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756819AbbDVLI0 (ORCPT ); Wed, 22 Apr 2015 07:08:26 -0400 Message-ID: <55378124.2060908@gmail.com> Date: Wed, 22 Apr 2015 20:08:20 +0900 From: Krzysztof Kozlowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Daniel Granat , Julia.Lawall@lip6.fr, cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org CC: Gilles.Muller@lip6.fr, nicolas.palix@imag.fr Subject: Re: [PATCH] Add coccinelle script that makes sure that tables are NULL terminated References: <1425043313-15844-1-git-send-email-d.granat@samsung.com> In-Reply-To: <1425043313-15844-1-git-send-email-d.granat@samsung.com> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1244 Lines: 30 W dniu 27.02.2015 o 22:21, Daniel Granat pisze: > Signed-off-by: Daniel Granat > --- > scripts/coccinelle/misc/device_id_tables.cocci | 95 ++++++++++++++++++++++++++ > 1 file changed, 95 insertions(+) > create mode 100644 scripts/coccinelle/misc/device_id_tables.cocci I like the idea and I think it is useful. Tested-by: Krzysztof Kozlowski However applying the patch gave some warnings: Applying: Add coccinelle script that makes sure that tables are NULL terminated /home/dev/linux/linux/.git/rebase-apply/patch:64: space before tab in indent. coccilib.report.print_report(p1[0],msg) /home/dev/linux/linux/.git/rebase-apply/patch:89: trailing whitespace. struct matched_name arr[] = { /home/dev/linux/linux/.git/rebase-apply/patch:99: trailing whitespace. struct matched_name arr[] = { /home/dev/linux/linux/.git/rebase-apply/patch:106: new blank line at EOF. + warning: 4 lines add whitespace errors. Best regards, Krzysztof -- 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/