From mboxrd@z Thu Jan 1 00:00:00 1970 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) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1RhiD+jZ" 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: kernel-janitors@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