From patchwork Tue Feb 7 23:02:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9561443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 891AD60413 for ; Tue, 7 Feb 2017 23:11:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F63F28499 for ; Tue, 7 Feb 2017 23:11:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7311F2849B; Tue, 7 Feb 2017 23:11:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7A8528499 for ; Tue, 7 Feb 2017 23:10:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754834AbdBGXKx (ORCPT ); Tue, 7 Feb 2017 18:10:53 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:35034 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753798AbdBGXKv (ORCPT ); Tue, 7 Feb 2017 18:10:51 -0500 Received: by mail-wr0-f193.google.com with SMTP id o16so6877808wra.2; Tue, 07 Feb 2017 15:10:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qcCEqxiAtxxa646/dehPwT3HNIWCrvNAncVvkN3FZS4=; b=dFBScKQSgf/RKD/uJKOI7DjKgCCYUhOPee+SHJ+NrHaT3Kn9zDDoDqx11Vw8MFdG0p v6pbSfTQwkxbfGu/pHGkJ8IDuA3owY2JeB7lbPcy8JirdZgVnxHIJfyrGno6MfwpYY8b 1OU45mvFantFBqKbk5h8gD84JY1TGFLQqOO0UXmZxAINGMuUI7c1CV5Kv89F/oQv/Bwv 8CuscZuQCSBpmTV/mJwiB1JeZIMRfQZqJHaF19d4aYl/iMQWyvB5ITP1bfF3/mU7e+9Y tt1imroI6skhSxN8yBvmkKXe7U9S+PZMyUGPt4m1iTf69zYQ3TM4qhfF0VojAKjnjUR2 pRJw== 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:in-reply-to :references; bh=qcCEqxiAtxxa646/dehPwT3HNIWCrvNAncVvkN3FZS4=; b=t6MTs9Lsi3TSYw746CFIV5X5kTFvzkxZ9WjlGNto9HSFZEP4lI2naKyXoZCPMrpjn2 bCnXNjCt0iMtV520c/oY4ymr7f+u+mBvSvubhhuFWmI8+hRZ+HFmNXUwqgQjeLNeo8cb EJlG315jzSwxJKYOqvbS+vMrIymfVvUXcbTyF85IoeoD/CUJhAJKdt39rhY6ULKlwkiS jQz6hQZX8rmgAkfmkiYnCyaSVCmRzrctRlFuCicWatYljxznmUNr9uC9SSPd6CHAZ00z 39x4WaXw/Q2/XIsb8PIrW2B/4iKaZBk9gGZd5PpsCQ33JaXVQ3zIKxNgU6u1Z6TlMgVp jGjw== X-Gm-Message-State: AIkVDXKt2biEVwDfEA1OynteGZyh3Vu9wJsATcFWqLU4gqOE6z0t+psP7a1IG2U1RGpWmw== X-Received: by 10.223.160.246 with SMTP id n51mr15607218wrn.158.1486508639609; Tue, 07 Feb 2017 15:03:59 -0800 (PST) Received: from fainelli-desktop.irv.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id b15sm9742283wra.4.2017.02.07.15.03.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2017 15:03:59 -0800 (PST) From: Florian Fainelli To: netdev@vger.kernel.org, linux-mips@linux-mips.org, linux-nfs@vger.kernel.org, linux-scsi@vger.kernel.org, linux-usb@vger.kernel.org, linux-wireless@vger.kernel.org, target-devel@vger.kernel.org Cc: Russell King , Andrew Lunn , Anna Schumaker , "David S. Miller" , Derek Chickles , Felix Manlunas , Florian Fainelli , "J. Bruce Fields" , Jeff Layton , Jiri Slaby , Kalle Valo , "Luis R. Rodriguez" , Madalin Bucur , Microchip Linux Driver Support , "Nicholas A. Bellinger" , Nick Kossifidis , Nicolas Ferre , Raghu Vatsavayi , Ralf Baechle , Satanand Burla , Thomas Petazzoni , Timur Tabi , Trond Myklebust , Vivien Didelot , Woojung Huh Subject: [PATCH net-next v2 01/12] net: sunrpc: fix build errors when linux/phy*.h is removed from net/dsa.h Date: Tue, 7 Feb 2017 15:02:54 -0800 Message-Id: <20170207230305.18222-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170207230305.18222-1-f.fainelli@gmail.com> References: <20170207230305.18222-1-f.fainelli@gmail.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Russell King Removing linux/phy.h from net/dsa.h reveals a build error in the sunrpc code: net/sunrpc/xprtrdma/svc_rdma_backchannel.c: In function 'xprt_rdma_bc_put': net/sunrpc/xprtrdma/svc_rdma_backchannel.c:277:2: error: implicit declaration of function 'module_put' [-Werror=implicit-function-declaration] net/sunrpc/xprtrdma/svc_rdma_backchannel.c: In function 'xprt_setup_rdma_bc': net/sunrpc/xprtrdma/svc_rdma_backchannel.c:348:7: error: implicit declaration of function 'try_module_get' [-Werror=implicit-function-declaration] Fix this by adding linux/module.h to svc_rdma_backchannel.c Signed-off-by: Russell King Acked-by: Anna Schumaker --- net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c index 288e35c2d8f4..cb1e48e54eb1 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c +++ b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c @@ -4,6 +4,7 @@ * Support for backward direction RPCs on RPC/RDMA (server-side). */ +#include #include #include "xprt_rdma.h"