Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755485AbYJUA5x (ORCPT ); Mon, 20 Oct 2008 20:57:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751583AbYJUA5q (ORCPT ); Mon, 20 Oct 2008 20:57:46 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:63530 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751287AbYJUA5p (ORCPT ); Mon, 20 Oct 2008 20:57:45 -0400 Message-Id: <200810210057.m9L0vQ7i012829@www262.sakura.ne.jp> Subject: */ in string confuses checkpatch.pl From: penguin-kernel@i-love.sakura.ne.jp To: apw@shadowen.org, rdunlap@xenotime.net, jschopp@austin.ibm.com Cc: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Date: Tue, 21 Oct 2008 09:57:26 +0900 Content-Type: text/plain; charset="ISO-2022-JP" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 806 Lines: 28 Hello. The below code confuses checkpatch.pl ver 0.21. Regards. ---------- # cat /tmp/foo.c void foo(void) { bar(\" /proc/\\\\*/\"); bar(\" /proc/\\\\$/\"); } # /usr/src/vanilla/linux-2.6.27.2/scripts/checkpatch.pl --file /tmp/foo.c ERROR: need consistent spacing around \'/\' (ctx:WxV) #4: FILE: tmp/foo.c:4: + bar(\" /proc/\\\\$/\"); ^ total: 1 errors, 0 warnings, 5 lines checked /tmp/foo.c has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. -- 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/