From patchwork Fri Dec 8 20:03:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rafael J. Wysocki" X-Patchwork-Id: 17776 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5692231vqy; Fri, 8 Dec 2023 12:08:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhv3xx6M4NuI5EBw4ovebH18FUp9sCuoMWA1ES8M/TGU9ZIOJ+sljiBrrqzmZ+DSnVjn8e X-Received: by 2002:a17:90a:630a:b0:285:b6cb:6ab1 with SMTP id e10-20020a17090a630a00b00285b6cb6ab1mr628284pjj.28.1702066088981; Fri, 08 Dec 2023 12:08:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702066088; cv=none; d=google.com; s=arc-20160816; b=Dh4naGEtHueODbQunVbWmqLMGPnpvLN8lUwZcUdK2oZ0uFkwSRjImU06iP1su4CazD mV5NEQeIMHBAl2kW5jcauvgoVuBSduRknIAi947ZjIYAw5o9m+Y0wWyyUWMwM+zGA+Qw oiqCy0dXP8yl0nD/SaXLfOTJRGSSTIYYjLe+pZiACAWOzTN3094/ImfUIRMprdbzHSGk O5qF+OPunnUBeV5f4b9dpbtz1QLgm07z6zKiU90fLHEWyIUIFkpnzO8qWIUH8EtcYw20 cjdjEqTt+AlKOr8KawLmrX7gp4KeU+zJy49bawSyym43EpD5U7YqhGV9Y57J3XDENDXp 5vQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=R1lQGPtop+9aJ0bzyJ5akFOpKgWhkYTsuwCydhwo5HE=; fh=arJSG3Xz207w2wMVOOEdKWDKnFh7anVx1NoYPUQafKc=; b=iTZwrkUHpV90a46z+pjRx4mxY/5ZuGJ6TrtKD3llh4hYcN7dN3Cj58waCMz33pb2rg m6jk+/voXz5ReGdP86CfOMbH871wDdRcslf7QVbUptvXZY4l9J7kDMrCQG+LBr1xa5H6 znhr1iB9axYqUm3Vv2o5YhKjsiGHIqF60QQ5R2pAIX5H+SfgSqdxpDR8ATSowllLubr6 KWznUjzkcOVOMCSUS8AQpjNkcv6xSAN8WTypE61Y6qgL6ldjWddrHrVD/PrvLEhM6xrI Fd3nGQevshS8hmv8eOGt2UG59CKh3QmsM3Ula8WsYziwmEK6BWopY5FZZCUv33bJ0xtv en2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id mu15-20020a17090b388f00b00286b45aef08si2137222pjb.163.2023.12.08.12.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 12:08:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1B94C8106785; Fri, 8 Dec 2023 12:08:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234276AbjLHUHz (ORCPT + 99 others); Fri, 8 Dec 2023 15:07:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1574632AbjLHUHr (ORCPT ); Fri, 8 Dec 2023 15:07:47 -0500 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A930F93; Fri, 8 Dec 2023 12:07:53 -0800 (PST) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.4.0) id f41f11b0998f2521; Fri, 8 Dec 2023 21:07:52 +0100 Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cloudserver094114.home.pl (Postfix) with ESMTPSA id B8EF16688FF; Fri, 8 Dec 2023 21:07:51 +0100 (CET) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Hans de Goede , Andy Shevchenko , Mika Westerberg Subject: [PATCH v1 0/4] ACPI: utils: Improvements related to struct acpi_handle_list Date: Fri, 08 Dec 2023 21:03:15 +0100 Message-ID: <6008018.lOV4Wx5bFT@kreacher> MIME-Version: 1.0 X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrudekiedgudefgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeffffffkefgheehffelteeiveeffeevhfelteejvddvieejjeelvdeiheeuveeuffenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeehpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohephhguvghgohgvuggvsehrvgguhhgrthdrtghomhdprhgtphhtthhopegrnhgurhhihidrshhhvghvtghhvghnkhhosehlihhnuhigrdhinhhtvghlrdgtohhmpdhr tghpthhtohepmhhikhgrrdifvghsthgvrhgsvghrgheslhhinhhugidrihhnthgvlhdrtghomh X-DCC--Metrics: v370.home.net.pl 1024; Body=5 Fuz1=5 Fuz2=5 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 08 Dec 2023 12:08:08 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784745651522713424 X-GMAIL-MSGID: 1784745651522713424 Hi All, This patch series modifies some code related to struct acpi_handle_list. The first two patches update acpi_evaluate_reference(), which is the only place where struct acpi_handle_list objects are created, and its callers to make the code easier to follow, reduce code duplication and get rid of some useless code and local variables. The other two patches are a minor modification of a helper function comparing the contents of two struct acpi_handle_list objects and a white space fix for the struct acpi_handle_list definition. The patches in this series are not expected to change the observable behavior of the kernel. The series is based on linux-next from today. Thanks!