Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758674Ab1CDEHl (ORCPT ); Thu, 3 Mar 2011 23:07:41 -0500 Received: from mail-yw0-f46.google.com ([209.85.213.46]:43987 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758465Ab1CDEHk convert rfc822-to-8bit (ORCPT ); Thu, 3 Mar 2011 23:07:40 -0500 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:content-transfer-encoding; b=iPpZA8Rv3fYcfFtvuUP2DvqWOyV6eHPwlZ6qx+P9Qy87tJtrxqYUuARS+O1taMm8ot N/QvkFKVfeI3Y5ROR7+EycjCF5szPwFbaCE84yt+jvjZHBluwQDrB6YMP6m48uGxdPae MSSs64P1FEHbo84kGAbIaCydDwb/j1Aa41Gts= MIME-Version: 1.0 In-Reply-To: <201103021731.01598.toralf.foerster@gmx.de> References: <201103021731.01598.toralf.foerster@gmx.de> Date: Fri, 4 Mar 2011 12:07:39 +0800 Message-ID: Subject: Re: checkpatch.pl: never finishes w/ specific file From: Jovi Zhang To: =?UTF-8?Q?Toralf_F=C3=B6rster?= Cc: akpm@linux-foundation.org, apw@canonical.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 850 Lines: 26 2011/3/3 Toralf Förster : > Hello, > > this runs infinitely : > > ./scripts/checkpatch.pl --file ./drivers/staging/rtl8192u/r819xU_firmware_img.c > > Is this a known behaviour of checkpatch.pl  ? > Not infinitely, just need to wait for a long time. checkpatch.pl works fine, it report like this: ERROR: space required after that ',' (ctx:VxV) +0x01,0x00,0x00,0x08,0x00,0x00,0x00,0x00,};                         ^ That file miss so many whitespace after ',' from checkpatch point of view. Anyway, forget it, checkpatch.pl is not recommended to check those files. -- 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/