Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp600374rdb; Thu, 22 Feb 2024 13:20:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX8gu8XdfPGZOVXHbWalwotYwpYNihz6KULx4T6HVmAz2FnUyfRaD3gPUNMvetfg8QR9D2JFYG7gfs14XqpdUf174OZP0PP3a1c6MwbYg== X-Google-Smtp-Source: AGHT+IFSQfav9DAJWdnCfWJO8IvnPfHfzsF/Qu8uI0al2qb6PbXKa9qUxEcpeie4YVpXjBe3JXlN X-Received: by 2002:a05:6402:128c:b0:564:46d5:3a4b with SMTP id w12-20020a056402128c00b0056446d53a4bmr9972131edv.16.1708636837678; Thu, 22 Feb 2024 13:20:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708636837; cv=pass; d=google.com; s=arc-20160816; b=dskq7PT6rtwW0cwTijHYQEfmu1to6FmpQ1fLWtWQ0uBAA3vpdx47Kbbf3HhKSAA6CG KqXtw10+xB4hpj3ooucEns5eCIhphGK7O69R9xWXgx3ZT+XFpZrP+V890dcgcUTobBL9 5RCd5VysFtkwX6C6zjyChnIDElQ00iuDHglofT3PrZhCwGiqXFcH2H/Dy7w6N9PeYaCO fX3xKfaVjUs88Ae5R2S9W+uCKKJ0BDzEk3wWJTEkrJicYNcT4iptlKA50nVdfD04ZbNg F10Toz+fmlON5PqemKsiXB4d1dVH8VaNmN5fOgnrkm2HBT0yZe2C1bFyfV3kKbKlPw3l nGOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=afO6j15uaMkEjVNhaf/Xi5EFXM2svWfZ6S3aT/F3pP4=; fh=pw8PRZSriy5ItDWf/K+wpvKlkiujiqhzj3eo/lNvPzY=; b=QqKWZt/UTKYTdb5p4rCmxF1myFqbYArMt0TdTFXysZ7G0FskVBjyQ5VBFAd2DLYuMr DXdLI6ptwwHn7DiMA/xzwf12Y+HglMXeLtC7trtsDPJDxLblvGwTjpfNie4bQQsi4oS5 NMmwj6YAoiwYSAYqkXufYPelEIazcGFWCnOXAQBQA/VfjtGVVPoA2kU6EhH2LoDCfNQ8 8H/Gpo3Kin/KCcc5JkAeiYpIi16iKqlhQC+CV63Tq/pKC0LfgzEyiADdq1T50NJvh7Rb mb0BXLtAOxrFlWru35BlTHIPweP0dDTIiDBS2AFobXFXn15bCAoNd9WW2eLP1r5Pt+dv 1rDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h2VtMYEu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-2087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l15-20020a50d6cf000000b0056535d0a18esi846914edj.492.2024.02.22.13.20.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 13:20:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-2087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h2VtMYEu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-2087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6E3DE1F250ED for ; Thu, 22 Feb 2024 21:20:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1B8D73F20; Thu, 22 Feb 2024 21:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h2VtMYEu" X-Original-To: linux-bluetooth@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59B3B14B832; Thu, 22 Feb 2024 21:20:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708636830; cv=none; b=CQYJlshTmUSXY/UpRyAg088t82a0ify+qr9UCetJuoS2GUpmVoUtuRVb+j4s453i+SsL16otLNYRc0lZ7eUoY0V3bJ/3uWhEJvx1rAzO9LzQzcJeCWRWHmjn1uxfe4wMVxUuaHc8Frud0GhrH+Zfsm5YH0hLa0B9FZuy0LXfgKc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708636830; c=relaxed/simple; bh=5MUlZbapTPCxc1lpZiRLDnYoq2FuEhSOM8CkV5YjxZI=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=IcOL92UyI8S1HnZtKfBWzokDjLQw+oNA+bw91EputlmxM/s6Wz8YhxrsglW4FuflzyJaF6mn6o/in6GYgbwIGwHDK5E2IHDURRRogJBRFXTUEcYL/K7/dzx+8NpM/9SqcpCPHcLL8OeJvlOb2MFuFzHuOhgU/R0ZRf9KxJYe85k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=h2VtMYEu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id D24CDC43390; Thu, 22 Feb 2024 21:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708636829; bh=5MUlZbapTPCxc1lpZiRLDnYoq2FuEhSOM8CkV5YjxZI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=h2VtMYEuXU11hflmGrWqiXXuAHbJX3MhEv7CHQFfoHN4PzRSKztaV0mzZZP8XVgIj I+Y3tjAl5fTCWzqsbub9i/4clcQj0MZl/xl2eQzmZtv7olo0M7lNIcgLaUOs045oFz w3TRbSUj+koiFC7thzmLwz97mmJ4es52wJzNxx3UU0610S+6TDzuwJFuMYExbeq5Eb 5/FKvEeX7OzcKz3Z3E2V9Ywt+LatHQBnLuABFFFoWPp76WvEvO84kH1OFdvzDqR+// hTl21JoE8AuOS0zPNigL4Yv/FNEIXyiBYOWAaKhAKUMxRnlA6ozE8VJkTelsKc5ykg +xxGhYCSDgNkQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id B287AD84BBB; Thu, 22 Feb 2024 21:20:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: hci_qca: don't use IS_ERR_OR_NULL() with gpiod_get_optional() From: patchwork-bot+bluetooth@kernel.org Message-Id: <170863682972.29147.2545768852887642149.git-patchwork-notify@kernel.org> Date: Thu, 22 Feb 2024 21:20:29 +0000 References: <20240208164017.26699-1-brgl@bgdev.pl> In-Reply-To: <20240208164017.26699-1-brgl@bgdev.pl> To: Bartosz Golaszewski Cc: marcel@holtmann.org, luiz.dentz@gmail.com, linmq006@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, bartosz.golaszewski@linaro.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Thu, 8 Feb 2024 17:40:17 +0100 you wrote: > From: Bartosz Golaszewski > > The optional variants for the gpiod_get() family of functions return NULL > if the GPIO in question is not associated with this device. They return > ERR_PTR() on any other error. NULL descriptors are graciously handled by > GPIOLIB and can be safely passed to any of the GPIO consumer interfaces > as they will return 0 and act as if the function succeeded. If one is > using the optional variant, then there's no point in checking for NULL. > > [...] Here is the summary with links: - Bluetooth: hci_qca: don't use IS_ERR_OR_NULL() with gpiod_get_optional() https://git.kernel.org/bluetooth/bluetooth-next/c/75518da8cf76 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html