Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp959587rdb; Fri, 20 Oct 2023 04:51:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAhcvKJBYyLF2h2BC+0wOZFROhp9DxCCYNlVqqXBgcgClsxnYz0WJptBqikfUJsEVFZKhz X-Received: by 2002:a05:6870:1004:b0:1e9:edd1:2176 with SMTP id 4-20020a056870100400b001e9edd12176mr1496892oai.33.1697802662045; Fri, 20 Oct 2023 04:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697802662; cv=none; d=google.com; s=arc-20160816; b=CUoAQCWkQRMBS5ap4bJVgqn7uO1K3E6j5lfv3vVx5mybOY0ZCbd6ZQ5TVPwVT1tXW2 ch2QiDjYoZ8Nb8G1ZRVIC3ZX+s1OOuzMs1WuOyHqOQ+7ror6YtWpNC9ml3PRJp+JiT4v fw4ncl8WYjnRW4AiY6CAQS99VA1ZxUqLl84e5ZwxaRN4KgpqbSp62iYOaA7gxxUDLFPS IJi4/qrJDDgXxEKTSsKRNidjmNwPwkx1tAyQhEoAyhnQHkKV2IR8GtniND3qZEckAId8 RnrXrYMPtOLnAbhzU+iKSYJCPXrsnEJ45QCHJJH202li1bgFwokyz8O57yT2YAZotRwh Sk0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1BXpFmZotobe2WYOp6dHHJadZsngmwLQdTQTaRJwTnA=; fh=KI6kzTHABeoRKm55ubpLkxSKaitPARBYTtAhMo+hnoA=; b=r3e99bhTGE5vmgvftEL0Coh7nh4a/497J5NYyd4cp1jD+QhFVFLfudHJ/DaFf5o+aI /Fsi8zk+5BSldU7yii6tr7cDud3HVD8XrltBfDA9r33ts/T5yzk+mKKww86T6XWi2A3u GxGMFDdaeaz1z4fO1rs+DwPjA9/pP0uEhTtzPlftkrJg/Tmd8eXZpy/iaH7/vg9UbfPi xbjo7ktBsoaZMubuaXvIedWtKk6h3TovDHqW/WIKuRAjTyiXhx3Nf/IQBbwigcMcvFfn lIqrwCDBLQ0J5JX4uOQE5CjC6hB/vatfs8XpglL9Vt5t1bq3gn7ssy6Z/0b9FtQ4uH0i 7ToA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lORszuXI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id x190-20020a6386c7000000b00585463c36fbsi1729254pgd.44.2023.10.20.04.51.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 04:51:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lORszuXI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8FDF48057DA7; Fri, 20 Oct 2023 04:50:59 -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 S1377205AbjJTLuv (ORCPT + 99 others); Fri, 20 Oct 2023 07:50:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377147AbjJTLuu (ORCPT ); Fri, 20 Oct 2023 07:50:50 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4493C98; Fri, 20 Oct 2023 04:50:45 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-9b96c3b4be4so110211266b.1; Fri, 20 Oct 2023 04:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697802644; x=1698407444; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1BXpFmZotobe2WYOp6dHHJadZsngmwLQdTQTaRJwTnA=; b=lORszuXInBVjKXkSeimvp8kScDVhD/ILxZPWILk5pcDCFU1qRtJyPZuMMNvoNxRMjx 4eRQne4tPbH7QFqUQCyEhbsbPq/uegqeTgIWc45vrVPtlg0ORIkchWfVlMXZX0frFwDw NyIL5caHlVtprgOt/yyQiArvJ0AZKtNw4ONBM/mi5knM6nuyW0iqQjQZCd3pty9+LiEu VbC57N4Z4s03ycZrIyA/PZgwFWGBsVjqdtv0Dqj0jMeC3lIjd9UaipDwOeCVfO2S2OdS cLT/zvJTJuWP7uaGSx5GNRVMcQdN3AknELzHCJ0Tu5hfRvid+qi5mbxqz7aMZL5ZkMGY 5VPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697802644; x=1698407444; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1BXpFmZotobe2WYOp6dHHJadZsngmwLQdTQTaRJwTnA=; b=GiQM5w6uFjmuVWfOkIvEntGuBfYuYg4KyU3SA7NpLLui7c5Apx8mEILYYo7DXwKpOf a0Iy2iy6Xg7DlJeaDsuH1ticB6m6E8DFapEp2e/AnUio6ZByyi869vB+O2lASbpHXsrZ cmO+1orsah7xkGlFHzjGYpOtvzYxb2sT4MQpDAfOBCmGAisDYRU8FqiW/kJNfWgdvFF2 O1TJHMAPgsf9MVlyjth2OVeXUJkyi7O/NSc/s5ezwHhBJVBhsrcGB3O54oihxNDIr0DU 7iLeScWTyaqhrZk5YuvZqcdCSCX7ClXPcftwQNyNQNziTsw6nUnrNWJbYcnRsNixmtT0 9XEg== X-Gm-Message-State: AOJu0YyYFbVHyZnMxkz7ysy3amORUET7pv12yHk4G61TdznWtw0hT93m lP+XRlsxcrDEs7wSu4KxkO8= X-Received: by 2002:a17:907:d8d:b0:9b2:df16:851d with SMTP id go13-20020a1709070d8d00b009b2df16851dmr1233141ejc.57.1697802643458; Fri, 20 Oct 2023 04:50:43 -0700 (PDT) Received: from ?IPV6:2a02:a466:68ed:1:974d:4d18:38cf:ab0f? (2a02-a466-68ed-1-974d-4d18-38cf-ab0f.fixed6.kpn.net. [2a02:a466:68ed:1:974d:4d18:38cf:ab0f]) by smtp.gmail.com with ESMTPSA id i6-20020a17090671c600b009920a690cd9sm1324627ejk.59.2023.10.20.04.50.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Oct 2023 04:50:42 -0700 (PDT) Message-ID: Date: Fri, 20 Oct 2023 13:50:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 0/3] gpiolib: acpi: More fixes to the consolidation rework To: Andy Shevchenko , Dmitry Torokhov , Bartosz Golaszewski , Linus Walleij , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mika Westerberg , Bartosz Golaszewski , Hans de Goede References: <20231019173457.2445119-1-andriy.shevchenko@linux.intel.com> Content-Language: en-US From: Ferry Toth In-Reply-To: <20231019173457.2445119-1-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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]); Fri, 20 Oct 2023 04:50:59 -0700 (PDT) Op 19-10-2023 om 19:34 schreef Andy Shevchenko: > On top what Hans already fixed, Ferry reported a few bugs that pointed > out to the same consolidation rework done in v6.2. > > The first is most serious issue, that needs to be fixed ASAP. > > The second is good to have. > > And the third one I'm not fully okay with, so open for advice on > how to improve. > > Note, that long list of parameters to a _find_gpio() functions > can be hidden in the specifically crafted a new data structure, > but this is out of scope of the _fixes_ series. I'm all ears as > well for that one. > > Andy Shevchenko (3): > gpiolib: acpi: Add missing memset(0) to acpi_get_gpiod_from_data() > gpiolib: Fix debug messaging in gpiod_find_and_request() > gpiolib: Make debug messages in gpiod_find_by_fwnode() less confusing For the series Tested-by: Ferry Toth > drivers/gpio/gpiolib-acpi.c | 10 ++++----- > drivers/gpio/gpiolib-acpi.h | 13 ++++++------ > drivers/gpio/gpiolib-of.c | 13 ++++++------ > drivers/gpio/gpiolib-of.h | 8 ++++---- > drivers/gpio/gpiolib-swnode.c | 4 ++-- > drivers/gpio/gpiolib-swnode.h | 1 + > drivers/gpio/gpiolib.c | 38 ++++++++++++++++++++--------------- > 7 files changed, 48 insertions(+), 39 deletions(-) >