From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753458Ab2AWSNN (ORCPT ); Mon, 23 Jan 2012 13:13:13 -0500 Received: from mx2.netapp.com ([216.240.18.37]:28670 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750890Ab2AWSNL convert rfc822-to-8bit (ORCPT ); Mon, 23 Jan 2012 13:13:11 -0500 X-IronPort-AV: E=Sophos;i="4.71,557,1320652800"; d="scan'208";a="619172201" Message-ID: <1327342389.2628.6.camel@lade.trondhjem.org> Subject: Re: linux-next: build failure after merge of the nfs tree From: Trond Myklebust To: Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, "Nicholas A. Bellinger" , linux-scsi@vger.kernel.org, target-devel Date: Mon, 23 Jan 2012 13:13:09 -0500 In-Reply-To: <20120123113949.b8d1940bb60128c5c4efeece@canb.auug.org.au> References: <20120123113949.b8d1940bb60128c5c4efeece@canb.auug.org.au> Organization: NetApp Inc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) Mime-Version: 1.0 X-OriginalArrivalTime: 23 Jan 2012 18:13:10.0270 (UTC) FILETIME=[A9EAF1E0:01CCD9FA] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2012-01-23 at 11:39 +1100, Stephen Rothwell wrote: > Hi Trond, > > After merging the nfs tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/target/iscsi/iscsi_target_configfs.c: In function 'lio_target_call_addnptotpg': > drivers/target/iscsi/iscsi_target_configfs.c:214:3: error: implicit declaration of function 'in6_pton' [-Werror=implicit-function-declaration] > drivers/target/iscsi/iscsi_target_configfs.c:239:3: error: implicit declaration of function 'in_aton' [-Werror=implicit-function-declaration] > > Presumably caused by some include file cleanup in the nfs tree (probably > commit 0b5357cfc2e6 "NFS: Remove unnecessary includes from > linux/nfs_fs_i.h"). > > I applied the following patch for today: > > From: Stephen Rothwell > Date: Mon, 23 Jan 2012 11:35:02 +1100 > Subject: [PATCH] iscsi: in_aton needs linux/inet.h > > so include it directly. > > Fixes this error after a recent nfs cleanup: > > drivers/target/iscsi/iscsi_target_configfs.c: In function 'lio_target_call_addnptotpg': > drivers/target/iscsi/iscsi_target_configfs.c:214:3: error: implicit declaration of function 'in6_pton' [-Werror=implicit-function-declaration] > drivers/target/iscsi/iscsi_target_configfs.c:239:3: error: implicit declaration of function 'in_aton' [-Werror=implicit-function-declaration] > > Signed-off-by: Stephen Rothwell > --- > drivers/target/iscsi/iscsi_target_configfs.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/target/iscsi/iscsi_target_configfs.c b/drivers/target/iscsi/iscsi_target_configfs.c > index 3468caa..6b35b37 100644 > --- a/drivers/target/iscsi/iscsi_target_configfs.c > +++ b/drivers/target/iscsi/iscsi_target_configfs.c > @@ -21,6 +21,7 @@ > > #include > #include > +#include > #include > #include > #include Hi Stephen, Yep. I believe that is identical to the patch Bryan sent to James Bottomley a few days ago. Could you please carry the above in your tree until the iscsi folks get around to fixing this? Cheers Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com