From patchwork Tue Jun 21 00:54:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 899452 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5L0tTxm032553 for ; Tue, 21 Jun 2011 00:55:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756307Ab1FUAzL (ORCPT ); Mon, 20 Jun 2011 20:55:11 -0400 Received: from mail132.messagelabs.com ([216.82.242.115]:64715 "EHLO mail132.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755974Ab1FUAzK (ORCPT ); Mon, 20 Jun 2011 20:55:10 -0400 X-VirusChecked: Checked X-Env-Sender: hartleys@visionengravers.com X-Msg-Ref: server-6.tower-132.messagelabs.com!1308617708!22194589!1 X-StarScan-Version: 6.2.17; banners=-,-,- X-Originating-IP: [216.166.12.98] Received: (qmail 15272 invoked from network); 21 Jun 2011 00:55:08 -0000 Received: from out001.collaborationhost.net (HELO out001.collaborationhost.net) (216.166.12.98) by server-6.tower-132.messagelabs.com with RC4-SHA encrypted SMTP; 21 Jun 2011 00:55:08 -0000 Received: from etch.local (10.2.3.210) by smtp.collaborationhost.net (10.2.0.59) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 20 Jun 2011 19:55:08 -0500 From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] svcsock.c: include sunrpc.h to quite sparse noise Date: Mon, 20 Jun 2011 17:54:51 -0700 User-Agent: KMail/1.9.9 CC: , , , , , MIME-Version: 1.0 Content-Disposition: inline Message-ID: <201106201754.51704.hartleys@visionengravers.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 21 Jun 2011 00:55:29 +0000 (UTC) Include the private header sunrpc.h to pickup the declaration of the function svc_send_common to quiet the following sparse noise: warning: symbol 'svc_send_common' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten Cc: Trond Myklebust Cc: "J. Bruce Fields" Cc: Neil Brown Cc: "David S. Miller" --- -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index af04f77..f2cb5b8 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c @@ -51,6 +51,8 @@ #include #include +#include "sunrpc.h" + #define RPCDBG_FACILITY RPCDBG_SVCXPRT