From patchwork Sat May 8 16:03:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1475894 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=Gm05/cRo; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=hOS/1Ae2; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=VuN/O4DG; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FcsZm48vhz9vFX for ; Sun, 9 May 2021 02:04:32 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=GJR5BtGkzaG7g4t/IkDt0u1EvhfkkojIBDBaFSoZ6PQ=; b=Gm05/cRo0ze+45IKIfGLB93Lj2 0xi43s8PE3hMz/WT58oSew4BVd2rJdKigKE7W2BtJEsjheBRYtv6v+3M5wf/Ybg39Kt12BDkB/mwF vaHhgRsYO7Ge//EI8191k3QuqPpzKTUoOHJAZWrU7dPnIisfmuyN/GF+n8U56f/nuSD1Sw17lKmss ig27w3SFP0vEGNxpqh4ydBG+H1esHMp1qH7okTMEvfje+8Jo6D+n/xJsic7puWJ08YGQilXaaMkZ2 kNiwUY4uEbHUu93wRy3ZmklGJQ1w1VUsbvwsp15fFC8dPVi16yH57WZR7zV0Pm1rUBJBONsHH6pBo meIkCLVg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lfPQo-009sc3-6Q; Sat, 08 May 2021 16:03:54 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lfPQl-009sbs-IO for linux-arm-kernel@desiato.infradead.org; Sat, 08 May 2021 16:03:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=H7SCTGFRYP7l5WwS/JB3rUT7cQlgLXBNtQROOxtyDaw=; b=hOS/1Ae2nhw3kY3kgDhysgvlba lyL0RcHDNewJvR08yNMo4xELW7ipRoXC5yoPn6HpnWe/lRjZNEfCOLHXulD06ldwoF/WkQrnb33rM 9dXQR2wRO1lrzGNeApSImQzFdrhTEfrYCmWHIXKN/fbgEpg0abZKL7e39++aGIi5ckFQP2CgjTcVl LeCyH+omBbvzNUJ4/lFLnQtksxLosCwIr1Wtocn1kLqagjq9vsBRE8E9JoLnyzRz9RA5c+2keJARK xvlxVb/DUGkyuc5Dnt3pWiwATfwLpENrl3n3s+vJvOq/Vk56KDa0Kzo4I96ibOpJSDTJC6w7jZ0v+ LcEBejiQ==; Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lfPQi-007coq-IQ for linux-arm-kernel@lists.infradead.org; Sat, 08 May 2021 16:03:50 +0000 Received: by mail-qv1-xf32.google.com with SMTP id u7so6321752qvv.12 for ; Sat, 08 May 2021 09:03:44 -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=H7SCTGFRYP7l5WwS/JB3rUT7cQlgLXBNtQROOxtyDaw=; b=VuN/O4DGrKb2TcRfxsjukI8LBAOwEVmw0ETeo9hcbx7hyTzTqHtuz79ZLH3HNHaTCk 1rf8gpJINgNLpBlQmKm9zz7XoUtKNDuZ66Z4Y4uxkdtDykYIdfdPe2znnwnXBfrOHCWM ClF8HwCm7b4r/Faor8Dg8//I+3619iT5RcHUeo3TcHzd0yijRMgYoNzo1GwSi9JAHHpE icPbdwJGUj8g4PkipL9GJrmQc++bJMP3s/joJ9Vc9//a0uW2KIFRwqlvYqdNe3bvbYnQ dCI39890CK8vf1T6ZBr+edcmm8Tgk9I/DST7KeixZzhlKmKDT30AHNBJJNAW0XAy4gh6 NFqQ== 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=H7SCTGFRYP7l5WwS/JB3rUT7cQlgLXBNtQROOxtyDaw=; b=nwsbAIM9IKwjaXuMThBXu0VpvRR5QGQvlV8+wdxC6iutApcyS2XzNmdiYVf4tuX5/J 2GSAiOHLmyA35BAwQYr9ZWpzpTIy27hg+rQHCsL8MPsbbt7XLgC2JP6nlpzmNwk6bnFk UMLata0xGWxy3HXK9OCaoZsxKxpr/fTlxnD3LuwpD3s6YhDzjNISwwnJr6arfHT4LkNU xmgj6c7ThuG4sbaYf/aIz19GOWrPT4nt6Peb4/dX85+yJbSWVfBCaX927cg3McePN9T1 COgfy1+sPujZclhOF3kb/jKE3bZP5/c0scx+sASQd+cF6dkZn4v1UyHqJ7iCy0aIG4YC kTiQ== X-Gm-Message-State: AOAM530Cuw7z5xblhbUBwJHK8NdSVF5KsUabYlPCOW87Fj4KSJaGajF4 7Oa/MuPuCn9JwajLqZpF44U= X-Google-Smtp-Source: ABdhPJxqiieGTo9Pd8LIFfAd890itqI04bFyeWtyMn/R48lY28s+QNNmSFaek0BeFnAkq1LBAUXnLA== X-Received: by 2002:a0c:d40a:: with SMTP id t10mr15782190qvh.19.1620489824030; Sat, 08 May 2021 09:03:44 -0700 (PDT) Received: from localhost.localdomain ([2804:431:d77f:b6df:c439:5563:a09d:14ed]) by smtp.gmail.com with ESMTPSA id y4sm7311445qti.53.2021.05.08.09.03.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 09:03:43 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam , kernel test robot Subject: [PATCH] ARM: imx: pm-imx27: Include "common.h" Date: Sat, 8 May 2021 13:03:19 -0300 Message-Id: <20210508160319.32806-1-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210508_090348_630924_FABD5FCB X-CRM114-Status: GOOD ( 10.25 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Since commit 879c0e5e0ac7 ("ARM: imx: Remove i.MX27 board files") the following W=1 build warning is seen: arch/arm/mach-imx/pm-imx27.c:40:13: warning: no previous prototype for 'imx27_pm_init' [-Wmissing-prototypes] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [festevam[at]gmail.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:f32 listed in] [list.dnswl.org] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Since commit 879c0e5e0ac7 ("ARM: imx: Remove i.MX27 board files") the following W=1 build warning is seen: arch/arm/mach-imx/pm-imx27.c:40:13: warning: no previous prototype for 'imx27_pm_init' [-Wmissing-prototypes] Fix it by including the "common.h" header file, which contains the prototype for imx27_pm_init(). Fixes: 879c0e5e0ac7 ("ARM: imx: Remove i.MX27 board files") Reported-by: kernel test robot Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/pm-imx27.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/pm-imx27.c b/arch/arm/mach-imx/pm-imx27.c index 020e6deb67c8..237e8aa9fe83 100644 --- a/arch/arm/mach-imx/pm-imx27.c +++ b/arch/arm/mach-imx/pm-imx27.c @@ -12,6 +12,7 @@ #include #include +#include "common.h" #include "hardware.h" static int mx27_suspend_enter(suspend_state_t state)