Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2235302imm; Sat, 29 Sep 2018 13:37:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV63YzQB/E8ieKI63TfgKaGdRnlXBzbSc7nntKWYCPDHG1vkoAOQsclzGFDuISuMxlBA+3fvW X-Received: by 2002:a17:902:d201:: with SMTP id t1-v6mr4562502ply.63.1538253452143; Sat, 29 Sep 2018 13:37:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538253452; cv=none; d=google.com; s=arc-20160816; b=LHDW8x/rJtnNsC6SmUf1iSpM3j0YIdTntfuwPC0ZsPb2ppa4wh5UUwXec5cygC50GW jprgtWMxYWfAImFf7EAaEX9OReDAJNmMbFyEobrs8mSs9Ds2uFQpKW4n3nn7LN7W49fk yh74gYmG1Yhq0nGX3Qz2+7dtXsYKCfnQGipnZOgfIYZfsprbEEPd8vi0FWa04DZpbQVc +sZr4PjaFa9NZfJZUWxWZYAO0Z9pdOaryvgqFEGwXDVXbyiudDyBnhdjNw2tC7gjsWRC 6cCvCR4l8gKvr2P7tJBM0vlpwn+yFYY7ntqhSx5XCL4uNMbAVCr6pO/zqtgWS6M5OqV0 tQWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=pIREm9pIRvgOfyjyB+FWR/CUwTqNSb6e3QH1jZm1fW4=; b=TwtPUK0rQaLrXKcuSiUGnSRuc9M7RPbg7NmdhEuzk43bdFcpV1NcykOuxKWlAcr9Zk OJOwOLBN7UL5ztKTNhxkNxXdyWJzSr4RWACovan0JZCWp624tZ77VsY9FHPoTgVNdY61 Geh966EUZkwo9fF9TDgFphV+/ZZWLHdeuHPVXPvY+FIYQtbI+s9jGvj0OKTr88eUQPNJ 4VvGtr4tLjiO8P+2h32MWjyLJ6eHTxMHOXu3QHYrPvRyu3eWmmLNKyvBlLRqUCafQ02Y damB2Y10c5hJYLlFBl9JXNk/tSpNC29dvgnmOxmeQpYE+aKwKKQ/tlEA1xuLVDc0m9dH Qb3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="oV//3ksf"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 62-v6si8181310plb.203.2018.09.29.13.36.41; Sat, 29 Sep 2018 13:37:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="oV//3ksf"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727958AbeI3DGZ (ORCPT + 99 others); Sat, 29 Sep 2018 23:06:25 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:35444 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727744AbeI3DGZ (ORCPT ); Sat, 29 Sep 2018 23:06:25 -0400 Received: by mail-pg1-f193.google.com with SMTP id v133-v6so6816798pgb.2; Sat, 29 Sep 2018 13:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:cc:from:message-id; bh=pIREm9pIRvgOfyjyB+FWR/CUwTqNSb6e3QH1jZm1fW4=; b=oV//3ksfD6sXBKfJacjHAao3qc1DUW/EOUYrn4ZqNOvgDqAyQlelBXSHI/WNzCQ64x ZLWBQCchvJQNLDvwucIpLLPIOac/fqU4iMCV5sShS5CHv/Sb58Ivtw+f9jlyYDSU/yB3 WoE/VnCVGKkRDCFXqRGLa+0D2d7nkxKHtiIqAg39OplzfjcOF3r+d5I8WN2PG1NuNclb 8A5kHWfnVnGpWrb8Qg3hCZg3n5XF7O+wCU7BBN83g9+eQni54nUG5Du7SJGq1wMeK4/j PZq6k9kieVH3DCmr29jQj2vUhUvQDQFfnD4DeY0X2wtGPeSnRmHyNU0b7O2ArcE50uPO 1JTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:cc:from :message-id; bh=pIREm9pIRvgOfyjyB+FWR/CUwTqNSb6e3QH1jZm1fW4=; b=XMNOCY6RI7U8EvM4csvXR1THrPN23+7YQmU2IaXeTElSRRgMplfyMp/m8yOwG1nKmQ bV2CvoqMDPwOWPvGetR7Zq6FQV+n2hPLZO2F/uz8ff1SYp1yyLU9TZ7zAhsso7xa2cjn 1CkEFu5NzucransgPfrezn9sL+D49Gh5/wJvYKxGahgdXrcOARbiU/oj/FYqRCxMSFmt 2hhMzAtdkW1+DlVgIEXMy0xdf0yqstFI1Bh+VEfDb1mHrGXG4xuO5K0ylIhinf4R/oSG v07JTX2w6uETzMWPDXPp/JOP/RwlOgeiz/jA9805rBN9LlTGhce0PYn/nLbbKAvH9jHw NVXw== X-Gm-Message-State: ABuFfoiFMjGBU2CULNjGIZnyLk3Pw+xu8s3jzNrlqV5E6ftaOfJaJ5M+ iKl6t5jz/O5OChVHgQQDkplLZxNA X-Received: by 2002:a17:902:2d24:: with SMTP id o33-v6mr4468656plb.211.1538253395027; Sat, 29 Sep 2018 13:36:35 -0700 (PDT) Received: from [192.168.14.54] ([12.70.68.218]) by smtp.gmail.com with ESMTPSA id v84-v6sm2340360pfk.12.2018.09.29.13.36.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 13:36:33 -0700 (PDT) Date: Sat, 29 Sep 2018 13:36:29 -0700 User-Agent: K-9 Mail for Android In-Reply-To: <1538197903-37168-1-git-send-email-zhongjiang@huawei.com> References: <1538197903-37168-1-git-send-email-zhongjiang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] net: phy: Fix a unused function gcc warning. To: zhong jiang , davem@davemloft.net CC: andrew@lunn.ch, netdev@vger.kernel.org, linux-kernel@vger.kernel.org From: Florian Fainelli Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On September 28, 2018 10:11:43 PM PDT, zhong jiang wrote: >Fix the following compile warning: > >drivers/net/phy/mdio-bcm-unimac=2Ec:321:12: warning: >'unimac_mdio_suspend' defined but not used [-Wunused-function] > static int unimac_mdio_suspend(struct device *d) > ^ >drivers/net/phy/mdio-bcm-unimac=2Ec:330:12: warning: 'unimac_mdio_resume' >defined but not used [-Wunused-function] > static int unimac_mdio_resume(struct device *d) > >Signed-off-by: zhong jiang Thank you, Arnd already sent a patch for this which got accepted: https://patchwork=2Eozlabs=2Eorg/patch/975088/ --=20 Florian