From owner-freebsd-current@FreeBSD.ORG Sat Jun 22 16:54:01 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A9BED6BF for ; Sat, 22 Jun 2013 16:54:01 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id 0A97B1454 for ; Sat, 22 Jun 2013 16:53:59 +0000 (UTC) Received: from alph.d.allbsd.org (p3086-ipbf906funabasi.chiba.ocn.ne.jp [122.26.46.86]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id r5MGrgIP054521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Jun 2013 01:53:52 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.5/8.14.5) with ESMTP id r5MGrdoK006641; Sun, 23 Jun 2013 01:53:41 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 23 Jun 2013 01:53:18 +0900 (JST) Message-Id: <20130623.015318.10019857672947305.hrs@allbsd.org> To: hiren.panchasara@gmail.com Subject: Re: revision 252095: kerenl fails to compile: nfs_clstate.c:5160:33: error: format specifies type 'long long' but the argument has type 'uint64_t' From: Hiroki Sato In-Reply-To: References: <20130622150856.5e6f9c90@thor.walstatt.dyndns.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart0(Sun_Jun_23_01_53_18_2013_791)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Sun, 23 Jun 2013 01:53:53 +0900 (JST) X-Spam-Status: No, score=-89.5 required=13.0 tests=CONTENT_TYPE_PRESENT, DIRECTOCNDYN,DYN_PBL,ONLY1HOPDIRECT,RCVD_IN_PBL,SAMEHELOBY2HOP, USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: freebsd-current@FreeBSD.org, ohartman@zedat.fu-berlin.de X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 16:54:01 -0000 ----Security_Multipart0(Sun_Jun_23_01_53_18_2013_791)-- Content-Type: Multipart/Mixed; boundary="--Next_Part(Sun_Jun_23_01_53_18_2013_969)--" Content-Transfer-Encoding: 7bit ----Next_Part(Sun_Jun_23_01_53_18_2013_969)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit hiren panchasara wrote in : hi> On Jun 22, 2013 6:09 AM, "O. Hartmann" wrote: hi> > hi> > hi> > Just for notice. hi> > hi> > The most recent sources fail to compile a kernel successfully: hi> hi> http://svnweb.freebsd.org/changeset/base/252074 hi> hi> This change is the culprit. The attached patch should fix it. -- Hiroki ----Next_Part(Sun_Jun_23_01_53_18_2013_969)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="nfs.diff" Index: sys/fs/nfsclient/nfs_clstate.c =================================================================== --- sys/fs/nfsclient/nfs_clstate.c (revision 252096) +++ sys/fs/nfsclient/nfs_clstate.c (working copy) @@ -77,6 +77,7 @@ * until they succeed or an unmount/recovery occurs. * (Since we are done with them, they do not need to be recovered.) */ +#include #ifndef APPLEKEXT #include @@ -5156,9 +5157,9 @@ lyp->nfsly_fhlen, 0, flp->nfsfl_off, len, lyp->nfsly_lastbyte, &lyp->nfsly_stateid, NFSLAYOUT_NFSV4_1_FILES, 0, NULL, cred, p, NULL); - NFSCL_DEBUG(4, "layoutcommit err=%d off=%qd len=%qd " - "lastbyte=%qd\n", error, flp->nfsfl_off, len, - lyp->nfsly_lastbyte); + NFSCL_DEBUG(4, "layoutcommit err=%d off=%" PRIu64 + " len=%" PRIu64 "lastbyte=%" PRIu64 "\n", error, + flp->nfsfl_off, len, lyp->nfsly_lastbyte); if (error == NFSERR_NOTSUPP) { /* If not supported, don't bother doing it. */ NFSLOCKMNT(nmp); ----Next_Part(Sun_Jun_23_01_53_18_2013_969)---- ----Security_Multipart0(Sun_Jun_23_01_53_18_2013_791)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlHF1n4ACgkQTyzT2CeTzy15uQCeOOLjw15pOyXr4k9ykM0db+E4 pvYAoJX2d4BfKIq/PJ9s/QIfAL4q9D46 =y12V -----END PGP SIGNATURE----- ----Security_Multipart0(Sun_Jun_23_01_53_18_2013_791)----