Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2040446rdb; Mon, 9 Oct 2023 10:28:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxGspQNmnuldaMlgjTy7KpFBBf9ptehWl8ELGmcpA6emzbdwPckWL5b5VBRD+imLqqcfJL X-Received: by 2002:a05:6a00:168b:b0:692:6d3f:485b with SMTP id k11-20020a056a00168b00b006926d3f485bmr16391260pfc.3.1696872503131; Mon, 09 Oct 2023 10:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696872503; cv=none; d=google.com; s=arc-20160816; b=xjFpTC+tWfVCaGGiwR0AM8wpIWt8mcxGlq6FeZqBQTr+qFhcycFM0B1x/tksxa2QOf MXBQAknFO084zDrenZ5XrybuLfZTaNs/YGllu9h92zXtE0vxxnpHXrE4RpfWysBurIjk BKBmF7eMgl4UUVfF7Tbg7xJE8d4fExyX4WYpOqn6JVpoFMD4VdS51LgQ8Uzhp2zNxYKH +rRAmz8TcnH4a6zHS1LNYJc6Pg5ukbIiR2AJ6hQQFXuLHXRZJVpKjJHneYtUmIsgvBUy n8PpvNBFF7nqjvuhJckn1NIOg6KrLnkvzGSiZ2lSWO4Pdu0TsfoRotaXcdaVjM3Cglgp L+lw== 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=MowmknSIgoec/jnZ1c8AvJVgCudW81aa5TiSZXSftyc=; fh=vFRU2YCLBAPDAeriU8y9jOxluTGaKFSVDXkaS0cq4e0=; b=XJMv3rwcux8yrGi3gdLBAuHk+lTtLuOxZXzuyXk0CT1sBm3wlj6xhG61eBb2LlezCs kie9DRil0TsxJSqqC1yFM+S9pncvTf32oloHMdoLR8hrtuJeGuY6aGopGIZkGMcNNlRJ spH0PcJ6ky0cYiXNI1R9aJVDmmCrX6vi8tGfsOfjfg/o6Vq603lXxVXx17lwpq1U0brE DlxYQWMa8iDmX+hwzkz2RxAzhoHmh9gPqK0BYDOZsjG/Lc7Ah/PnnSylmGdT1EpeLW2F 2aAWW+Ambu+FmFv3j/Wd8RdvlWQK/y3Eq+lIMhL4Bn6WZ8hxmT8f4rDLRHPQ5iDdn3/i ifdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g3GoBgqB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id fd20-20020a056a002e9400b006933e57dde4si7921059pfb.0.2023.10.09.10.28.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 10:28:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g3GoBgqB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id BF660803E8C4; Mon, 9 Oct 2023 10:28:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377385AbjJIR2Q (ORCPT + 99 others); Mon, 9 Oct 2023 13:28:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377428AbjJIR2O (ORCPT ); Mon, 9 Oct 2023 13:28:14 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3451CA for ; Mon, 9 Oct 2023 10:28:12 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA65BC433C7; Mon, 9 Oct 2023 17:28:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1696872492; bh=MowmknSIgoec/jnZ1c8AvJVgCudW81aa5TiSZXSftyc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g3GoBgqBbCbC+ciFFIn4UcCHY7e6XV523Rin7WfS5a6Dmc0aNsiOIlOPtXWuwKlM2 wSFZijkYNj3s7S7y7RGO8DGtHVgX/CYk/PdKs2OQ4z+rQsrqiypVoAD2/qmlZBPQ3v lSPhtsKV+JSnWRibGSGGpPNUifgCg7qCOhL634TM= Date: Mon, 9 Oct 2023 19:28:09 +0200 From: Greg KH To: Max Kellermann Cc: MyungJoo Ham , Chanwoo Choi , linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/7] drivers/extcon: add local variable for newly allocated attribute_group** Message-ID: <2023100957-whole-hurling-1e6f@gregkh> References: <20231009165741.746184-1-max.kellermann@ionos.com> <20231009165741.746184-3-max.kellermann@ionos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231009165741.746184-3-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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 09 Oct 2023 10:28:21 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 09, 2023 at 06:57:36PM +0200, Max Kellermann wrote: > This allows the compiler to keep the pointer in a register and > prepares for making the struct field "const". Again, registers have nothing to do with this. thanks, greg k-h