From nobody Fri Jun 17 19:37:47 2022 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 9C0EC85AB44; Fri, 17 Jun 2022 19:37:48 +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 4LPq7v6cC8z3Q0G; Fri, 17 Jun 2022 19:37:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494668; 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=FZJlbo/OkBvjFZ+hAYa9cp1BKIw1bLoPOK8rz8uAd48=; b=thisR0CIOV8lK/pQRXK2KVLTX3jfuczGmcGQyhlANp8lLRrM6vJn8tU3i14YN4K8IRkR63 qK4hUa1RPa06d30St9r1DXX+2q25UoLOAQjWy5XSdMeVBjUIiRrhNckqYee6daCGz/2OiA Pc3SgGKvzFs6YG8ckWpHEMVpRp3uuLWiDAuZlE+cS7c6m89sBxYuV+tLtxzGsI5t0nFtzZ ky1wleQSrZSfBGG9bCyzTEbYis5B3lNc60k2DMuhoRBgNt4dKK1qL71Y9O5Q+BnIEtdVre Q3QTKE7NnBjNa1KjjpG9KOinxg+cWAk4bCyMDL0OFBhPGRoZ/3r8BycJMnqapQ== 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 4E0BC257D2; Fri, 17 Jun 2022 19:37:47 +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 25HJblFZ013815; Fri, 17 Jun 2022 19:37:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HJblhv013814; Fri, 17 Jun 2022 19:37:47 GMT (envelope-from git) Date: Fri, 17 Jun 2022 19:37:47 GMT Message-Id: <202206171937.25HJblhv013814@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: 0b55f31e0124 - stable/13 - linux(4): Use variable name not type for sizeof() to calculate storage size. 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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 0b55f31e0124bce94b00fbae15e28f34c1ca0297 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494668; 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=FZJlbo/OkBvjFZ+hAYa9cp1BKIw1bLoPOK8rz8uAd48=; b=iRclvbYLlg967uW7ppQ0aSagBEFuzEfNwqs6WxjwsOsD6iK1NHEvEolchouDEpZbNKEKMe HmVUH220dEcMqEJdxThCP40c11gVPgS4zM9Bg+HB8kok93BP7QC/8MVSZosR3idEjUiq3+ NIjq0zSsy3SgKHUIrZjjrWdoH+4fGlFu4IHL7fH20vP+qIL5sJOLGaN0kgvkb7auXQHw17 nKdS2hMDJqcYuIhJJKbv2kj2hxXvTDnnnRJl1Zq+hkE8cPH/k7VbwIAaL3fTzp3uabdoQ5 8N/GUwnLKyF+RRpIG1CxTpTZYEAkJJLkpVda8V2281nzKzLaBzUvkEw02FkrZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655494668; a=rsa-sha256; cv=none; b=KaSSMvGeiT1YoIwCgVnizTP0yQu6HS1V+MkX1Fxvawe1rmQCCddE0dpTRr86dYCQ5ZBulT wHITTrtpmfKmxn8fNoh+hSsz89LHka/Izjr2FuxJJ2ympMupNRfhNeWmZHcAOOcRPrfnd0 YMq/ZxisYtqpSyULth/Gk2A0yp1xuhnZZfE1MVJ4XAbAyKazQzLaqPbgbs01PQyS/OtzLN foPBXA5kTiCdDPJQ1e8vptdbmZLGNTwYsAfM1GoBCOr3WbsI9mGVreoM1RI85AJ6ZFW+mn knjk5juBP4W7VQAKqtUFv0JpZCQqb7exYQKhlUZVTg6k9ATOUiTJjm1rlYBm/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=0b55f31e0124bce94b00fbae15e28f34c1ca0297 commit 0b55f31e0124bce94b00fbae15e28f34c1ca0297 Author: Dmitry Chagin AuthorDate: 2021-07-29 09:54:32 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-17 19:33:24 +0000 linux(4): Use variable name not type for sizeof() to calculate storage size. MFC after: 2 weeks (cherry picked from commit bd25bf092ae92f5a46eed51a3152c9af4cb0f7b3) --- sys/compat/linux/linux_futex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c index 353b76afe8cc..cc3a685fb14e 100644 --- a/sys/compat/linux/linux_futex.c +++ b/sys/compat/linux/linux_futex.c @@ -1001,7 +1001,7 @@ fetch_robust_entry(struct linux_robust_list **entry, l_ulong uentry; int error; - error = copyin((const void *)head, &uentry, sizeof(l_ulong)); + error = copyin((const void *)head, &uentry, sizeof(uentry)); if (error != 0) return (EFAULT);