Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2040661rdb; Mon, 9 Oct 2023 10:28:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzoLAAp39ofH7MSEBcKDtT3IcmwDBQFqq/RXY6//3v/zIaILa02Znj/Yc/Ore7aBbyGe22 X-Received: by 2002:a05:6a20:7f9a:b0:157:64e4:4260 with SMTP id d26-20020a056a207f9a00b0015764e44260mr21508309pzj.9.1696872528753; Mon, 09 Oct 2023 10:28:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696872528; cv=none; d=google.com; s=arc-20160816; b=WtF8KweI1wmi9Pm6RMSJ5fh80z0x7kLUzgYJS51sSQT+XMDk+8tgviUX1Y1NfXbzlb VMCnWifSuBBw662gSRHfEaPCMHuXsQLRpf/SpWMpbgMRB/bok0cgCrL0SaqntpTJRdoV xr4u5NUXJtR/8DkFKIhuvWf76QFfW8WiYyL/iSAD7QH0YdZq/lreYRaJfwLWkI/1ltEJ oVA83bB0KG6v8MdRnLq73VhIPdd3cnVu1ssjfA6mBUAFbFVuz1TsV90ksbwgbYHEAuBB bXpXcrcECBXOJ09zOKj54KZMgX8qSSjTlgRxrRsSfJLO7kTe4CFXBk/W4lKzMQwzUucM kvVw== 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=XeJQWQeVS+Z959sNWhClnEBeDr2ttRN3kcOS/XN2N4U=; fh=wbrxa7Ol1WFmLHC/0UI2ykDW89IaTwsnqr8sIxAZh5k=; b=PSuqwjYK2xHOq3vlzRyffsQ4hiUTYTFBf9EzLB2xvClUTMOF93/j/GpIA9Ei2hNGUQ RxFfL3WumfwgGNLmEeO24UtMnq1FnE3vgSP52/AVdbNR3W2AAlxjxA/jGafG4Ge9B6xx QY01dKBEXIuzAreVcyzWW6ZOPi/94RM5mBK44yRsa/eqmKsKKxDsWVFdzZ1TXseugsqA cq4wDYRA2YK+yldk3SmVFQP9x9TDN69R5341ZEASvT8fIZQ1sZKvw2JYbfSZTCGdT4WR SNgU0qafGXtlDLi2Jd3SSXC31emuhFKnqQ+lEUCz9rL6/DnVnzHDHfQZBf2cD1e2QHYg AM+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fk6lL5gr; 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 m24-20020a637d58000000b0056949c3eda8si9882682pgn.119.2023.10.09.10.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 10:28:48 -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=fk6lL5gr; 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 CE1EE803E8D6; Mon, 9 Oct 2023 10:28:45 -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 S1377887AbjJIR2d (ORCPT + 99 others); Mon, 9 Oct 2023 13:28:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377385AbjJIR2b (ORCPT ); Mon, 9 Oct 2023 13:28:31 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC5B5F7; Mon, 9 Oct 2023 10:28:29 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8241C433C8; Mon, 9 Oct 2023 17:28:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1696872509; bh=XeJQWQeVS+Z959sNWhClnEBeDr2ttRN3kcOS/XN2N4U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fk6lL5grLPZ9sK0mvLd4sew0+j8Xef2fLBZSUEtN3ERXHDbxRaZRP/zCR+l/MMhto QRlJKL7RSlsmMxJgehfxktanKG4eKphWsqGhsSTkCMAiSQL0J74Nb8mNYhyfhRcf++ 3QcI2Qc0zinBkK5igUqMVHzMlQElmND2qQ/uWz8A= Date: Mon, 9 Oct 2023 19:28:26 +0200 From: Greg KH To: Max Kellermann Cc: William Breathitt Gray , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/7] drivers/counter: add local variable for newly allocated attribute_group** Message-ID: <2023100912-glare-broiling-cc7d@gregkh> References: <20231009165741.746184-1-max.kellermann@ionos.com> <20231009165741.746184-4-max.kellermann@ionos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231009165741.746184-4-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:45 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 09, 2023 at 06:57:37PM +0200, Max Kellermann wrote: > This allows the compiler to keep the pointer in a register and > prepares for making the struct field "const". Again, nothing about registers makes sense here. thanks, greg k-h