Received: by 2002:ac8:5349:0:b0:427:7d78:cd45 with SMTP id d9csp265898qto; Tue, 19 Dec 2023 07:40:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXuqpgxMVTCLwt5uMVZZikbPkZ2fAxQv1i3OyW1CXS7Drpw7nimMT6HoY9PZxwgduoc6ni X-Received: by 2002:ad4:5caa:0:b0:67f:3357:d337 with SMTP id q10-20020ad45caa000000b0067f3357d337mr7152685qvh.27.1703000444512; Tue, 19 Dec 2023 07:40:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703000444; cv=none; d=google.com; s=arc-20160816; b=E7pUDvd2qwK7Vcxb7YTFdcUZhtI/umPxl2w9QGpFBiEcdHJNMPVwoBNrfzmfXKT+us 50j6EnoKbuKMTg18lC2/LO7Ac0IeMf3ejVTbV82Zm+daWfRZ+WJOeEM73dpuomSe83hI Mh6D/992e/gx7zc3zliafxknQqwmB+FyirqP4f8rwUSK21XUHfYzURrJGYjhn6BA2JvM rDLDTPFK/R4c2/pAAjyTg6JB2c3BRmEvNk8Zphv7t85W1pPQdYn7RcVDm5lzjCV5SpPz iybjbRINSRa7tJNztOdGnP+HkMd6c4oGS12tTJTX9aYy8k9ewWcwzRMjIaMkEK0WVsGs YRrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cz4gKhugT+XnsTZqO0uA7aObp2JDTE6ar4ZZhrYTmGY=; fh=987xzrOwVEhzdKSFmS+gJcWdBbvo2vRCWJW44lfbcjw=; b=vFVLD/fhmGYI620y9mhagdvhsxCp6eUOZwwDzWt6pQGlihzymhYOfdcFi9swpkrg+f v3dEyuhBihQvb4QYF8hmY/2nhpnurmGlvA/c1dkKy9rDJhvQq3nXnVFluHTCdMhh02oh 3rXH/7Zevo+xn7G/xEhxxJVCtDvBG9qu1gC5S53jKwNDpMsN6RaIs309UCWxthNmHTL8 cOdY43zZWhIOL0mfSfMM58tSWGPyBVLs5sdj5ynZBWnY9N8GQk0FRAyNi4V91AD9GtdR oJtb/KWzJ9fcGKNvv4Os1aQ6Qfubz56rHHXOoV1YrAPvxPS2EcAIT/whpUmNPBPVtJ/O e/jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1RhiD+jZ; spf=pass (google.com: domain of linux-kernel+bounces-5498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5498-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p18-20020a0cf552000000b0067f45259c39si4580668qvm.202.2023.12.19.07.40.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 07:40:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1RhiD+jZ; spf=pass (google.com: domain of linux-kernel+bounces-5498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5498-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 43AD01C2432A for ; Tue, 19 Dec 2023 15:40:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D375C1CFA7; Tue, 19 Dec 2023 15:40:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1RhiD+jZ" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 ADD161F605; Tue, 19 Dec 2023 15:40:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C24CDC433C9; Tue, 19 Dec 2023 15:40:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1703000407; bh=grP01wEzHEY+P/AJ9wJUOp8gbbINY7i13UDZOkqesUY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1RhiD+jZRugrX9VCLGwWP8amkkRhLqBy5p2OYJNc+dAQ44uB7tKDmQufzjF6jcRxw YpK3vfXV472R8IprTBexPp2dj6B6pyU/TavFBsobw+skbZGziCu9nEs5br+Aix6ob/ tAIOOFyBvt5aJKh+ctQ9h9bVwguELn9Zl7Azh/NU= Date: Tue, 19 Dec 2023 16:40:04 +0100 From: Greg Kroah-Hartman To: Markus Elfring Cc: kernel-janitors@vger.kernel.org, Andrew Morton , "Rafael J. Wysocki" , LKML , cocci@inria.fr Subject: Re: [PATCH 2/3] kobject: Improve a size determination in kobject_uevent_env() Message-ID: <2023121946-immovable-striving-e2c7@gregkh> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Dec 19, 2023 at 04:34:19PM +0100, Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 19 Dec 2023 16:00:22 +0100 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit safer according to the Linux coding style convention. > > Signed-off-by: Markus Elfring Sorry, but for obvious reasons, I'm still not taking patches from you. best of luck, greg k-h