From nobody Tue Dec 28 17:51:14 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 07D15190F8B2; Tue, 28 Dec 2021 17:51:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JNhsw2Dt4z3FBQ; Tue, 28 Dec 2021 17:51:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6B1421611C; Tue, 28 Dec 2021 17:51:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BSHpEgq053667; Tue, 28 Dec 2021 17:51:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BSHpEAB053666; Tue, 28 Dec 2021 17:51:14 GMT (envelope-from git) Date: Tue, 28 Dec 2021 17:51:14 GMT Message-Id: <202112281751.1BSHpEAB053666@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: c50827a6bb26 - main - sys/nlm: Use C99 fixed-width integer types. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c50827a6bb265ce2c879d2b6487967327c3e57bb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640713877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9ObEDB2JhWHvDa4fplaVd1Ly3seQQk+2927xbAUk4E4=; b=odhzrye7VpA9BQjLBb8OxK7+U1Dj/QB27ce+vXipz1NE9eEULPL84oZm5YpaRaDmCOVxmJ dG1bZ1WvisDYkvArpekInaANK0qvYfcbrbs5JYkNINhZh1NJTg8Sz3lA6T7mByslI30K29 fV/AJbOW2Q5ESDfOvyZQNR8Fn3oAOrddNaMZtSbJ1U/wedEEOVl/aRtfu7lxzr465hM1bn VKsQKj4jq7pG8RHFBQ9KPa8dfQYUdKPtDkbLuaBRO3yUcgN9xTLEjiGlkdj28VXsoAr8XN VyNV2xmJMNvLShoJ5yh+5OAw/+DN907hmB7jLpqwGdcthH5EgbGhYdPFmchllw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640713877; a=rsa-sha256; cv=none; b=GKSrUxQpDYzYkpAU4aCPfr/B353m+KW5/hLq9QHXRv8+GcELte4MT4ys10CQJkDDFYKptu sAh1QPSbeNqRlHVDVm1v+iwpN7cjSCWLfK2jxhWe5svqtDhuKOyqRKJwfmkstWWbmwOhg2 G7/ePC22Nfhx7AGxYsXbE+hEc5357hza0Ls9xweeI8iHcXPL9n7VLSfEO3J5k849NUi9Ey 0WnOGjjeQU+H2SEk5BkE1DIxvAOdtLE37G9d0C/ZZVgxuskAncZg2SKIJxjR4bt8/kAaKH qiNAXWgJmdMfMAgfeq2iOhRldu4+iIkPlmECwNkKncZM9XtGd5wWXSgO+sAE5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c50827a6bb265ce2c879d2b6487967327c3e57bb commit c50827a6bb265ce2c879d2b6487967327c3e57bb Author: John Baldwin AuthorDate: 2021-12-28 17:42:42 +0000 Commit: John Baldwin CommitDate: 2021-12-28 17:42:42 +0000 sys/nlm: Use C99 fixed-width integer types. No functional change. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D33638 --- sys/nlm/nlm_prot.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/nlm/nlm_prot.h b/sys/nlm/nlm_prot.h index 98c5688e49f5..95e0e112dd73 100644 --- a/sys/nlm/nlm_prot.h +++ b/sys/nlm/nlm_prot.h @@ -172,10 +172,10 @@ typedef struct nlm4_stat nlm4_stat; struct nlm4_holder { bool_t exclusive; - u_int32_t svid; + uint32_t svid; netobj oh; - u_int64_t l_offset; - u_int64_t l_len; + uint64_t l_offset; + uint64_t l_len; }; typedef struct nlm4_holder nlm4_holder; @@ -183,9 +183,9 @@ struct nlm4_lock { char *caller_name; netobj fh; netobj oh; - u_int32_t svid; - u_int64_t l_offset; - u_int64_t l_len; + uint32_t svid; + uint64_t l_offset; + uint64_t l_len; }; typedef struct nlm4_lock nlm4_lock;