Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2040884rdb; Mon, 9 Oct 2023 10:29:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHSdRGJ+qjJdxUCRg442BlE6npNOBoNM4utOaM1vTJqQgTsicqOz6RRKHN58kgS4Sscoa+a X-Received: by 2002:a17:902:ea11:b0:1c8:7d21:fc63 with SMTP id s17-20020a170902ea1100b001c87d21fc63mr13114423plg.56.1696872550165; Mon, 09 Oct 2023 10:29:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696872550; cv=none; d=google.com; s=arc-20160816; b=ipO1XpMYQ5zIJDzartQDTACtW1Hzi8Usrc0bgBZFGnb77TH97jJ+yfk5mDc5J4Y4rq ZUpIRQuByZ0LUs6xrfAHP5rjAfm8QBwJLR/Jzp7nCK6Z05xM9AatjXGQhWOfJlpvJcE1 NP1new1mjRveJeL+ZYZvd4NAskqdrRXNvi7/eiDplVfChyED5LRZYRRC4ot+NeNPKVqX ruARci0nTTSAkwuGIHMp+x2PWCp1sAIauYGt/aTWm5+d6bKhYQoun4o6vFTTi4INYgq6 LtVGzGRZjb6gbrHAMOi59xRAsliKxtCQlm/V0B+xZ971Rhcvjdpl3nuy60ttOZ4VZPWK 0noQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tBsebNI+DlCdruldq1wvSjRa0++KU5LKq8R9zyL1D7g=; fh=0Q0NnH2IiEp1yie0mRXRBKNdh5iM37Ze9y8YG8QJwSA=; b=tiWmCYRytrEz82AIYsyFYBh1NxiIZprUw4XdLR7UHBn3JgssYZRXeiNzpLJdNC5xYM f8+Ls7L497Cjdw//0dnfWofMfDIa8feFYV0IPx9lEfcthMfSPTNZqLqtQ3fWBEola3XB zvT6hnA045Fu8x2yOX5g5txD2/mKhEccJlpiRuxZFjCQUDtxguHWBba6/t9bblBxs4yU fYyWarmZjAPb1m7zzrs2AmMRJa54gf3ws3FSg+HS5+fQ+BMvqgS9XWGBqrbaSk/8mIdZ V5Mz9z/nTw5upnALDw6+rtna60hxfQYioaRFY/fJKzIEXixeQpreglwjBn2m8ynD6Yb+ 9o0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hq1mHUmj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id l6-20020a170902f68600b001c75540d9fesi10449240plg.587.2023.10.09.10.29.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 10:29:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hq1mHUmj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1EC978044346; Mon, 9 Oct 2023 10:29:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377927AbjJIR2s (ORCPT + 99 others); Mon, 9 Oct 2023 13:28:48 -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> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 09 Oct 2023 10:29:06 -0700 (PDT) X-Spam-Level: ** 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...