From patchwork Fri Mar 15 20:43:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 228173 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 76E312C0095 for ; Sat, 16 Mar 2013 07:42:58 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BABDC4A146; Fri, 15 Mar 2013 21:42:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yo5lqCmski1C; Fri, 15 Mar 2013 21:42:55 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 049174A13E; Fri, 15 Mar 2013 21:42:54 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 005BD4A13E for ; Fri, 15 Mar 2013 21:42:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SBoTZ4s-3YYc for ; Fri, 15 Mar 2013 21:42:51 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ia0-f179.google.com (mail-ia0-f179.google.com [209.85.210.179]) by theia.denx.de (Postfix) with ESMTPS id 071DF4A13B for ; Fri, 15 Mar 2013 21:42:49 +0100 (CET) Received: by mail-ia0-f179.google.com with SMTP id x24so3596383iak.10 for ; Fri, 15 Mar 2013 13:42:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer; bh=QvrrTJ3yC3dz+VpE52vT14fUUgDFRAc4QeiU192/5YY=; b=krKOurdhpiVgILamrj8fnXtdaRCpStETA6MJBnXfPQjVGs7zwxgBgzn8ipMCbN4Iw+ 5MW7eqRHJSjVApSC5loI3whHLIbUm4JUmbj8UiTOtJSX99veE6Pu7ijX1QA0+iuVlsEc xFc67ZyG6eEl2OwRFcatXDOANjOzbmB65IP+wbFQDKNYKBdlW8LW+kbCd0rdtIaG+QI2 pVj6eyTVGhgMbBXW0n0ZaM9XwUbd+i8j/bM9PD+8Uo9fDm8aoRikQifnjRb+AB/GKFn4 VgUOQcQDpLDyPvDtgrQAPbs1mqAD6mLD1b2JjLJJLvgzd62USAmaD6kJRrWbx9eb02nv +NSg== X-Received: by 10.50.212.74 with SMTP id ni10mr2436811igc.60.1363380166987; Fri, 15 Mar 2013 13:42:46 -0700 (PDT) Received: from beef.ohporter.com (cpe-98-27-254-98.neo.res.rr.com. [98.27.254.98]) by mx.google.com with ESMTPS id in10sm456012igc.1.2013.03.15.13.42.46 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Mar 2013 13:42:46 -0700 (PDT) From: Matt Porter To: U-Boot Mailing List Date: Fri, 15 Mar 2013 16:43:48 -0400 Message-Id: <1363380228-7396-1-git-send-email-mporter@ti.com> X-Mailer: git-send-email 1.7.9.5 Subject: [U-Boot] [PATCH] .checkpatch.conf: ignore udelay->usleep_range warnings X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de usleep_range() is a Linux facility, ignore it when udelay() is encountered. Signed-off-by: Matt Porter --- .checkpatch.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index 38386b3..d88af57 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -15,3 +15,6 @@ # enable more tests --strict + +# Not Linux, so we don't recommend usleep_range() over udelay() +--ignore USLEEP_RANGE