From patchwork Sat May 30 03:40:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herbert Xu X-Patchwork-Id: 27866 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 12C25B7066 for ; Sat, 30 May 2009 13:41:04 +1000 (EST) Received: by ozlabs.org (Postfix) id 069A7DDF00; Sat, 30 May 2009 13:41:04 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 8BBC4DDDA9 for ; Sat, 30 May 2009 13:41:03 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757405AbZE3DkM (ORCPT ); Fri, 29 May 2009 23:40:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757111AbZE3DkL (ORCPT ); Fri, 29 May 2009 23:40:11 -0400 Received: from rhun.apana.org.au ([64.62.148.172]:53505 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754160AbZE3DkJ (ORCPT ); Fri, 29 May 2009 23:40:09 -0400 Received: from gondolin.me.apana.org.au ([192.168.0.6]) by arnor.apana.org.au with esmtp (Exim 4.63 #1 (Debian)) id 1MAFQV-0001r4-U1; Sat, 30 May 2009 13:40:08 +1000 Received: from herbert by gondolin.me.apana.org.au with local (Exim 4.69) (envelope-from ) id 1MAFQT-0005LL-6e; Sat, 30 May 2009 13:40:05 +1000 Date: Sat, 30 May 2009 13:40:04 +1000 From: Herbert Xu To: Mike Christie , James Bottomley , linux-scsi@vger.kernel.org, netdev@vger.kernel.org Subject: [SCSI] cxgb3i: Include net/dst.h for struct dst_cache Message-ID: <20090530034004.GA20516@gondor.apana.org.au> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi: [SCSI] cxgb3i: Include net/dst.h for struct dst_cache This driver needs dst_cache->dev so it should include net/dst.h to ensure that it builds. While net/tcp.h probably includes it already, we shouldn't rely on that since there is no guarantee that this won't change in future. Signed-off-by: Herbert Xu Thanks, Acked-by: Mike Christie diff --git a/drivers/scsi/cxgb3i/cxgb3i_iscsi.c b/drivers/scsi/cxgb3i/cxgb3i_iscsi.c index 9212400..8b49731 100644 --- a/drivers/scsi/cxgb3i/cxgb3i_iscsi.c +++ b/drivers/scsi/cxgb3i/cxgb3i_iscsi.c @@ -13,6 +13,7 @@ #include #include +#include #include #include #include