From patchwork Thu Mar 21 20:35:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geoff Levand X-Patchwork-Id: 229835 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3EC0B2C0092 for ; Fri, 22 Mar 2013 07:35:50 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752849Ab3CUUfq (ORCPT ); Thu, 21 Mar 2013 16:35:46 -0400 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:39681 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752853Ab3CUUfp (ORCPT ); Thu, 21 Mar 2013 16:35:45 -0400 Received: from 107-1-141-74-ip-static.hfc.comcastbusiness.net ([107.1.141.74] helo=[192.168.254.170]) by bombadil.infradead.org with esmtpsa (Exim 4.80.1 #2 (Red Hat Linux)) id 1UImD9-00021i-KK; Thu, 21 Mar 2013 20:35:43 +0000 Message-ID: <1363898133.1075.43.camel@smoke> Subject: [PATCH] net: Fix p3_gelic_net sparse warnings From: Geoff Levand To: "David S. Miller" Cc: netdev@vger.kernel.org Date: Thu, 21 Mar 2013 13:35:33 -0700 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fix these sparse warnings: ps3_gelic_net.c: error: marked inline, but without a definition Signed-off-by: Geoff Levand --- Hi Dave, Please queue for 3.10. Thanks. -Geoff drivers/net/ethernet/toshiba/ps3_gelic_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/toshiba/ps3_gelic_net.c b/drivers/net/ethernet/toshiba/ps3_gelic_net.c index 445c059..8d03fcb 100644 --- a/drivers/net/ethernet/toshiba/ps3_gelic_net.c +++ b/drivers/net/ethernet/toshiba/ps3_gelic_net.c @@ -294,7 +294,7 @@ iommu_error: * Reset the status of dma descriptors to ready state * and re-initialize the hardware chain for later use */ -static void gelic_card_reset_chain(struct gelic_card *card, +static inline void gelic_card_reset_chain(struct gelic_card *card, struct gelic_descr_chain *chain, struct gelic_descr *start_descr) {