From patchwork Thu Apr 15 02:02:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 1466454 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=MCtYykxZ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FLN074SWNz9sRR for ; Thu, 15 Apr 2021 12:02:47 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8D8F781E53; Thu, 15 Apr 2021 04:02:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MCtYykxZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 767DB81E6C; Thu, 15 Apr 2021 04:02:37 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7A96081607 for ; Thu, 15 Apr 2021 04:02:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qv1-xf2d.google.com with SMTP id o11so10948132qvh.11 for ; Wed, 14 Apr 2021 19:02:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5aL3L5ZxIQbDdoreVSkqdvYpfW5oKLFee5wDxQYUrXA=; b=MCtYykxZn9WaksTWRf/N7cynQPnvEyl5LS4aYFg8RLCPFu47+m0M4SZ+8H9PFEHUhb Dfis513gxLvj0JI2dCaVHwlXQ6O9p1WokvHiFnXzofS3TyiN7bHoa9n+7yM/tyllA72A y2TWReyNubaejmXX3Hyc0UpPy4iJUSF7BqTRMlXCIVeCW3uogB/Ujuxj/bt0KH0Jq3sI eloIPYE0rvJhKA4Gf+8cTMUXtijqL71PxJa6ROpYGUX1O4MWGLsIBHxfwQc5IqtFnc2n WCy1oI7pTynXq1W70I3hDgT1cUVDhSuzeXLGxHPDRfyb9aCd9xvXaHjdCIizyXq0a1Ox 2Htw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5aL3L5ZxIQbDdoreVSkqdvYpfW5oKLFee5wDxQYUrXA=; b=pjyKfbtlQaGPykNWMrMV6xKoacIXZzY2OlKVgj1pHJBeZKIENqtEBXGB3Tbj1UwZmM CnOk5uEKbtuYG6mq+K8nF099IHOzgfdVsPbNMb4wMbu92qQGGE5LItvJ2uQircop5pc5 evgiFA6RZpZXnR5RTnT+mM9ErjkjykXjYMO3NQ+eXAmtgHGPD9SZes8Zqzqc6fSmeppv 4fgTrSEnHX8pWR9o+evsSY8kKzGoDhawuANBUi4alX91vOZT9YZF0hH9VMprUIOnIVoT otH8Y9uPlGbQxHJ+KaweMf9uqN/k/GmHF3dOx+yLzAwF8tI+X9j379rrks8FplDfAeKW zjKg== X-Gm-Message-State: AOAM531yrPK52gNVv54CMVfVdZ4DfIRJJoFWXLBC4eTI0tSojzgK96fK 0oildWpXtq6Gi+R/RONt4BpDIu03wpE= X-Google-Smtp-Source: ABdhPJwksaWoZvOjRvMq2U9zJDCvVYstvOZv83ly7mU1l+tQCG2g/Hcjk6SmjxgAzhYXJC37Vc7UoQ== X-Received: by 2002:a0c:abcc:: with SMTP id k12mr1016305qvb.46.1618452153143; Wed, 14 Apr 2021 19:02:33 -0700 (PDT) Received: from godwin.fios-router.home (pool-108-51-35-162.washdc.fios.verizon.net. [108.51.35.162]) by smtp.gmail.com with ESMTPSA id 132sm960696qkn.52.2021.04.14.19.02.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Apr 2021 19:02:32 -0700 (PDT) From: Sean Anderson To: u-boot@lists.denx.de, Simon Glass Cc: Sean Anderson Subject: [PATCH v2] checkpatch: Ignore ENOSYS warnings Date: Wed, 14 Apr 2021 22:02:21 -0400 Message-Id: <20210415020221.819731-1-seanga2@gmail.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean There are no system calls in U-Boot, but ENOSYS is still allowed (and preferred since 42a2668743 ("dm: core: Document the common error codes")). Silence this warning. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- Changes in v2: - Removed accidentally-included tag .checkpatch.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index ed0c2150ba..9e40ea060b 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -26,6 +26,9 @@ # addresses are __aligned(2)". --ignore PREFER_ETHER_ADDR_COPY +# ENOSYS is a conventionally used error, even though U-Boot lacks system calls. +--ignore ENOSYS + # A bit shorter of a description is OK with us. --min-conf-desc-length=2