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 44952C001B1 for ; Thu, 29 Jun 2023 15:52:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232096AbjF2Pww (ORCPT ); Thu, 29 Jun 2023 11:52:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231919AbjF2Pwv (ORCPT ); Thu, 29 Jun 2023 11:52:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5FF01715; Thu, 29 Jun 2023 08:52:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2D12961574; Thu, 29 Jun 2023 15:52:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABBA2C433C0; Thu, 29 Jun 2023 15:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688053969; bh=CCKbzzXdJBYuI+KW0adHtNgjwnMf15NSqnKLyLN6/jk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mtFlczZ03HLwJp8zf7gcnm48scmZ56OxFM8rJbBkKwaIgtwpDpdz81n73wV6WnSOI z8PyiY6oTvqcpHIfvSmsHVy4KM1jfaRP4+Z3jjcfzxOMemWGDggwYUs2X7bXgl4gMN FV0hAjlpFcmV2ZaYKzD3wdDOh9lFvb+61FKbxhhTPCbhlK/akVSzklgQl+zQ3hYQJU Jj6v3ItTlZUueS1Z3ZG5IJNYcfbFlnqh1HamlViKSB4wCc1EMwwt2kfK/Pt5Uy528K FKDL097TdGgTKFVThDqBJxthUBNWVUgrAd/xmgITMd+xmKgDrZQrgQTGMuqCb8ZR1V KWVWMuxQRYzVg== Date: Thu, 29 Jun 2023 17:52:45 +0200 From: Andi Shyti To: Andy Shevchenko Cc: "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, acpica-devel@lists.linuxfoundation.org, "Rafael J. Wysocki" , Len Brown , Robert Moore , Michael Walle Subject: Re: [PATCH v3 1/4] ACPI: bus: Constify acpi_companion_match() returned value Message-ID: <20230629155245.syd6mx2rffbvbkol@intel.intel> References: <20230626110026.65825-1-andriy.shevchenko@linux.intel.com> <20230626110026.65825-2-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230626110026.65825-2-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Hi Andy, On Mon, Jun 26, 2023 at 02:00:23PM +0300, Andy Shevchenko wrote: > acpi_companion_match() doesn't alter the contents of the passed > parameter, so we don't expect that returned value can be altered > either. So constify it. > > Signed-off-by: Andy Shevchenko I guess I'm late for adding my Reviewed-by: Andi Shyti here. Andi