Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932092Ab1FUAzM (ORCPT ); Mon, 20 Jun 2011 20:55:12 -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] 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201106201754.51704.hartleys@visionengravers.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 31 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" --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/