Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5114852rwr; Sun, 30 Apr 2023 23:42:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4GjzV7O7QosYkuyUdUGSR3IGx7kBWizjKI1a0y9fBc/DUsFHSgBQN0KmNAiWb1NyXeH5TB X-Received: by 2002:a05:6a20:c70a:b0:ef:f558:b80 with SMTP id hi10-20020a056a20c70a00b000eff5580b80mr13151716pzb.58.1682923349058; Sun, 30 Apr 2023 23:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682923349; cv=none; d=google.com; s=arc-20160816; b=ELZBf+Ten6yseL23+khyCMVvADWfVwGk0pDbb1A6ryWBB9IRGkTo07rCHot2jzZsJm L5JdNxWOEkqv+dqNABVgu+sSJyCWdwkDr+YbBzz6wdrYQQFC8bRZeC/sDDPffaw2UixD CN2IyjSeQGybPEqR4VqejnMHPmfYzMvO+leea/huIJj3rIlE+6hXFV8sR5Rz3k4BVKtI Td0Xv8uIpeU1JAZESXm7xF9Efc0Ke1AevQUw3YRfAO95YpLJCGyRQstWO9PxrGALe6d7 QNDx9AK+0cg9XOskwWeMOKsBNNN+xLQL1ZWg2YYnyPqL6Sx4KuZfAuHTHly+o1XdKl7C ReBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=oI+filNIdjTQ0osFz9jr8dBhELvs975Gw080Uzfo3aE=; b=zNZqHFOIY1d30GCPdEwBwYrjfw7kA/xke/AM+udXQkCzod1jK0sGaGxw5gPIRG7+oG 6ErmLeu9UnBCOxJ3fngsHl6O5xTA0TdmA5LZCy+aYmjHpAjIRKKb5743J6BnR0BPeW9N CGmC4LK1GWqRWLbfntQqknTl3vgA4tTMOY0hbIY8NGPbWBJKbWiHWS7o+3/qs3os4Ee4 JkkLVfBj2uSK+QGreAjgoo5ZTBDHMeMyuodWGnNl3GHZYArlYT5rXvadBr40MB0fWLJa GP8A2xmhfsdt+zoAaM0YzYA4vfUWO2Lx0iUy5kYjICcKHRK24MLAU+975p/ALFedRr+1 iarw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=peOgYT3b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg1-20020a17090b300100b0023f4e5dda3csi29581358pjb.7.2023.04.30.23.42.16; Sun, 30 Apr 2023 23:42:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=peOgYT3b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232137AbjEAGkY (ORCPT + 99 others); Mon, 1 May 2023 02:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230127AbjEAGkX (ORCPT ); Mon, 1 May 2023 02:40:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4149218C; Sun, 30 Apr 2023 23:40:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8667961ABD; Mon, 1 May 2023 06:40:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id D4A26C4339B; Mon, 1 May 2023 06:40:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682923220; bh=gGSuGWgWgttdUPYq0QJwjR/Fo8OAhgQCTd+hV6AqmJQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=peOgYT3bBMmLfZdfmT6ANQ66GDIQmTnrZFIns3XaJFHsndOYoHPLoK4z/pVPJEXm4 k+H7HzfJ/mHlrPEgIzcRftgzmfODhXuquFx0nD1xUFeXLyx7YnV4Exe2oUjlugOn03 qfQFpiKrqGfXPZ9IALnBLq1/mzChTtnnLZtyQ3RNszP0cE9roZK9qNIVHS9vYbclKe km5ReNpEvYioCjLTQ1LxT35IMkA/V8cSAKljpYXNW/4FiLGilgAUJX7Nhx6abFREUU i+cuy+I+4XqYyGNHa1lWe6tH4Dgd/PreXMxNHtKWgughuH1ILfENKr/vzywcoc0qrp Z0iHwj+P/vTKg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id A0FDAC40C5E; Mon, 1 May 2023 06:40:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: atlantic: Define aq_pm_ops conditionally on CONFIG_PM From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168292322064.19130.1892036141540950855.git-patchwork-notify@kernel.org> Date: Mon, 01 May 2023 06:40:20 +0000 References: <20230428214321.2678571-1-trix@redhat.com> In-Reply-To: <20230428214321.2678571-1-trix@redhat.com> To: Tom Rix Cc: irusskikh@marvell.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Fri, 28 Apr 2023 17:43:21 -0400 you wrote: > For s390, gcc with W=1 reports > drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c:458:32: error: > 'aq_pm_ops' defined but not used [-Werror=unused-const-variable=] > 458 | static const struct dev_pm_ops aq_pm_ops = { > | ^~~~~~~~~ > > The only use of aq_pm_ops is conditional on CONFIG_PM. > The definition of aq_pm_ops and its functions should also > be conditional on CONFIG_PM. > > [...] Here is the summary with links: - net: atlantic: Define aq_pm_ops conditionally on CONFIG_PM https://git.kernel.org/netdev/net/c/4f163bf82b02 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html