From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7E06CD6115 for ; Mon, 9 Oct 2023 17:28:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377863AbjJIR2r (ORCPT ); Mon, 9 Oct 2023 13:28:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377922AbjJIR2q (ORCPT ); Mon, 9 Oct 2023 13:28:46 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F805E6; Mon, 9 Oct 2023 10:28:41 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C9B5C433C7; Mon, 9 Oct 2023 17:28:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1696872521; bh=tBsebNI+DlCdruldq1wvSjRa0++KU5LKq8R9zyL1D7g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hq1mHUmjt34pBDMiDhKtSUMt2ln06E6kI7QtooyYZ6vgSRVNW4O74xeoYdoEvFziU cRKF65/DYt/4wpsOXmXlTeIkwAxYsjAi8JrNig0IfcDpn/yHReAFFwhrD8WdnmiX2/ 2nxn00APZabf0OAIP2jLD6nfMtlzoz0ZZi3gUM84= Date: Mon, 9 Oct 2023 19:28:38 +0200 From: Greg Kroah-Hartman To: Max Kellermann Cc: Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH 5/7] drivers/tty/serial_core: add local variable for newly allocated attribute_group** Message-ID: <2023100931-safeness-resolved-cb20@gregkh> References: <20231009165741.746184-1-max.kellermann@ionos.com> <20231009165741.746184-5-max.kellermann@ionos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231009165741.746184-5-max.kellermann@ionos.com> Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On Mon, Oct 09, 2023 at 06:57:38PM +0200, Max Kellermann wrote: > This allows the compiler to keep the pointer in a register and > prepares for making the struct field "const". You know what I'm going to say...