From owner-freebsd-current@FreeBSD.ORG Sat Jun 22 16:42:19 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 97A22540 for ; Sat, 22 Jun 2013 16:42:19 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x229.google.com (mail-ee0-x229.google.com [IPv6:2a00:1450:4013:c00::229]) by mx1.freebsd.org (Postfix) with ESMTP id 2F791138F for ; Sat, 22 Jun 2013 16:42:19 +0000 (UTC) Received: by mail-ee0-f41.google.com with SMTP id d17so5143005eek.14 for ; Sat, 22 Jun 2013 09:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Xu6CdlxUWijNMN8MyGz7GYjKvr3EtL9hUWkVZNjIJ8U=; b=Lq3n7bpSJOk/43xZEvomDZ2BvV9TqejToCglDfXI27uB5wUJbS11u100AqoVjbfygL 2F0cRt0Dg5aWa+Lic3u+H7C9TUQKERt6b6Sqg4AcvhXmhKnqXYdR1LYSuW7mf0Zy7x/N SoSpqkc9YjnVKCEr1xg2vierpCV4m040la7sMreEFdvc53DAhnAyYsx6/uuO4SCfsZPd 5b56A3J6D/D/A6DwxlCqYgCWOepQuREBOEpyUiDd5swn73okvQfK7j5dpNk7TrR4e1eJ gr1b8v5ZLNy7dydqG9adXJZlHdP2v/73M1eAXbtZBQa0HOMJoTlFYjYTZcCnPuSt+hMn U/mQ== MIME-Version: 1.0 X-Received: by 10.15.42.129 with SMTP id u1mr17545394eev.116.1371919338281; Sat, 22 Jun 2013 09:42:18 -0700 (PDT) Received: by 10.14.119.203 with HTTP; Sat, 22 Jun 2013 09:42:18 -0700 (PDT) Received: by 10.14.119.203 with HTTP; Sat, 22 Jun 2013 09:42:18 -0700 (PDT) In-Reply-To: <20130622150856.5e6f9c90@thor.walstatt.dyndns.org> References: <20130622150856.5e6f9c90@thor.walstatt.dyndns.org> Date: Sat, 22 Jun 2013 09:42:18 -0700 Message-ID: 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: hiren panchasara To: "O. Hartmann" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-current 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:42:19 -0000 On Jun 22, 2013 6:09 AM, "O. Hartmann" wrote: > > > Just for notice. > > The most recent sources fail to compile a kernel successfully: http://svnweb.freebsd.org/changeset/base/252074 This change is the culprit. Hiren > > > [...] > /usr/src/sys/fs/nfsclient/nfs_clstate.c:5160:33: error: format > specifies type 'long long' but the argument has type 'uint64_t' (aka > 'unsigned long') [-Werror,-Wformat] "lastbyte=%qd\n", error, > flp->nfsfl_off, len, ^~~~~~~~~~~~~~ > /usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro > 'NFSCL_DEBUG' printf(__VA_ARGS__); \ > ^ > /usr/src/sys/fs/nfsclient/nfs_clstate.c:5160:49: error: format > specifies type 'long long' but the argument has type 'uint64_t' (aka > 'unsigned long') [-Werror,-Wformat] "lastbyte=%qd\n", error, > flp->nfsfl_off, len, ^~~ > /usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro > 'NFSCL_DEBUG' printf(__VA_ARGS__); \ > ^ > /usr/src/sys/fs/nfsclient/nfs_clstate.c:5161:8: error: format specifies > type 'long long' but the argument has type 'uint64_t' (aka 'unsigned > long') [-Werror,-Wformat] lyp->nfsly_lastbyte); > ^~~~~~~~~~~~~~~~~~~ > /usr/src/sys/fs/nfs/nfscl.h:74:11: note: expanded from macro > 'NFSCL_DEBUG' printf(__VA_ARGS__); \ > ^ > 3 errors generated. > *** Error code 1 > > Stop. > > > Regards, > Oliver