Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6318457rdb; Mon, 1 Jan 2024 18:58:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IH53oSLxmi4rys5G4pIcxUEbMLnDizz/addWvMa0ghBUXtPwcA+pSh21oRXCdAGLHV7/u62 X-Received: by 2002:ad4:4dcc:0:b0:67f:bbe8:c30 with SMTP id cw12-20020ad44dcc000000b0067fbbe80c30mr14241891qvb.113.1704164308385; Mon, 01 Jan 2024 18:58:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704164308; cv=none; d=google.com; s=arc-20160816; b=n4jTAoyRBdiCKaGMGHhCAhVdD/mgrn0SAr7yBsQiSNqlYV9HY69Q6d0Hg31D8dTeHj LVyC/6EWDnaKuyXB7sODI3BadnxyGXhdypKUwK9ebCG4kTXdT13EZk2MOEQ5qD3ZIan5 B81Jrk5rkW787n/Evpc41FfmBvwBtAM/O7wavZbdRFxdlKKbVw0EOmcKIqzLeO676eDd KC+Li8qOPb0ZioPsT/+0kC/31yQdVzJoLdgUBqNXwSrG6p6YGhpS4bTKUYGjESi7ELKP tSDZORlM1xSEYbdHOPw1kBCUPRCE38W9hT0b1Jju8mYlnTjCEAkopD5Alm1mAz0VsenD Bhzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=xQEpAwQnp/lG2slbdqN+vK4WuYoQ19RZhFnMHyiN9HI=; fh=541ADgjSttjO0RQQ98JL//mYntSXHSaa5ZmZNjb2QzI=; b=TXBob8+WPDE+ymbjNj69XWQX1hyXueENlGI6FDUX/DVdX42EW1/bIq7mlJj9HyWIVy MBgHOqqRTbRjrIhGhU6E5GiwqrI4iEgRiKd3vcYKgskK23YLwq/WyZ5qUbwlnM9g5ME5 uwPvXj9IFb9gEoTEDy88GLjU+/p/M27R1fl7dmea36eLojEb0JwF9G2StzjZBANCDpk1 JMx3AmDL+PS0S1/WEuXOvH7kSdaUz/pl/TA65nXmOPBpG9L8/3RH3eiqm7+1ohys1EfY l9s2GClf+7RtFAwSYLqR3PO1xbejUXHq6lc4WhXiUEG0TU0nRv1DlJ08qUSRNEPkpYPv OOnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="t/NecNlM"; spf=pass (google.com: domain of linux-kernel+bounces-13992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l9-20020ad44089000000b0067f81f84fb5si25517739qvp.410.2024.01.01.18.58.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 18:58:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="t/NecNlM"; spf=pass (google.com: domain of linux-kernel+bounces-13992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1EC251C2108E for ; Tue, 2 Jan 2024 02:58:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3351E10E1; Tue, 2 Jan 2024 02:58:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="t/NecNlM" X-Original-To: linux-kernel@vger.kernel.org Received: from out-178.mta1.migadu.com (out-178.mta1.migadu.com [95.215.58.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32996EC0; Tue, 2 Jan 2024 02:58:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1704164292; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xQEpAwQnp/lG2slbdqN+vK4WuYoQ19RZhFnMHyiN9HI=; b=t/NecNlM1PdCZfaI2cAh+Jw4k6cM8fegwver6OA2PvMCslCj3XoOQvX1NB5JkSfIPcj9Cn Tbck3yucAharJPX4ryOS17WlbpKenZtwqWeWkcJuuAuQY4XbjBMbbiLsbYQUc6dj20aZes nGF9l8h9wMsdDNC8pUdyXW9ieu0umi0= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Subject: Re: [PATCH 1/2] hugetlbfs: Improve a size determination in two functions X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <8c9488b0-4d91-48ac-bee7-6454e3045a9f@web.de> Date: Tue, 2 Jan 2024 10:57:28 +0800 Cc: Linux-MM , kernel-janitors@vger.kernel.org, LKML Content-Transfer-Encoding: quoted-printable Message-Id: References: <9ce3f553-24bc-4ecd-ac5e-7ba27caeff57@web.de> <8c9488b0-4d91-48ac-bee7-6454e3045a9f@web.de> To: Markus Elfring X-Migadu-Flow: FLOW_OUT > On Dec 29, 2023, at 19:37, Markus Elfring = wrote: >=20 > From: Markus Elfring > Date: Fri, 29 Dec 2023 11:32:07 +0100 >=20 > Replace the specification of data structures by pointer dereferences > as the parameter for the operator =E2=80=9Csizeof=E2=80=9D to make the = corresponding size > determination a bit safer according to the Linux coding style = convention. >=20 > This issue was detected by using the Coccinelle software. >=20 > Signed-off-by: Markus Elfring Reviewed-by: Muchun Song Thanks.