Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1133641lqo; Thu, 9 May 2024 05:56:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7ITx/I7ZbWVqbw+VP52Cp7o1Vmy+6wlHHxKBNUNpHl1fyV/67swce5LlcTeuD5UrOuKWK/RFvoS4mldgRvjZNszvPS8+YVA5oL118Sg== X-Google-Smtp-Source: AGHT+IH7WfenHc5v3mnI5W1Q51JAYSYqrsHIqdzHN63oSOZinfDty3EeOthw992BFTpTIFEzH1LM X-Received: by 2002:a05:620a:2014:b0:78d:67de:50a0 with SMTP id af79cd13be357-792b26f5687mr606567085a.44.1715259380394; Thu, 09 May 2024 05:56:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715259380; cv=pass; d=google.com; s=arc-20160816; b=eyqUd5wZ6FWiWp6eGdV3XWpily/Q9hS/HaqgQy4wiAk2ycXSjH6+XtI171B8sJcMkr kkfKskjckYnaEgTBLh/GqWFSjfRKpn7ZdlSlNwKwB4DgtBEaO5Mt8ZwWptL42SOovnku NOUu8mFw4ZRlDVV0fAaPzFexQ9qUjYHGjpCsguTE4J4shL6ddECRnbgQoPWCpJy8Lymq wRTwjM7O5EuMC7TyI11OWLtLAaC/MKBim5D0Ofm6KwpvEm90L19vkRYRoUks02K/EiYj g9jItWimt0bo5hY4zoysolGL9y1QllsHpnJYl64QoI022U5eKg+Wh8uUy4czFX/vQx8W 92tA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=4TQiPbwDOse/Q6qXuBmewJHAWv5McsuSvsFaCJQ8qwU=; fh=EYLrYZ0Wf5/1XoWD1xzHQ8VIQGsIDXYiSl/5uSeZcQs=; b=cOBafHejrec9+QwnbB9lA+bBCrqwa14ooJg4BJEV4aaTlNTt8jrwb9abIcEpXrQLyp uiP91UBifXlCStU1YwJVW9nXrj75y/WilCPuEVsQcunXxgIysEU5f2DCQQhvZjUHTEXH fW4lvCcA6c/QZyMbfOrAs6ZWMXeHhUcNoWtwCqg8ySW/AUTsT0KXILlZcNhH//ZCXzrs ObvY3W4smVQXep7GCd36cP2t+1XI+M8VFZb0v/NyV5bb/jpX5jNApXKed1FNLVZ0WBqC vfGa0ZGY9zTCcadBE6Xo+xfFIgAFKNrtTcMxXoiGgpSZHeOf1C/kNn+5P01wO3n1cqtd ryMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cwAMr01z; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-174521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174521-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf3671dfsi129625285a.631.2024.05.09.05.56.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 05:56:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cwAMr01z; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-174521-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174521-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2237E1C2262D for ; Thu, 9 May 2024 12:56:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C563315278A; Thu, 9 May 2024 12:56:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="cwAMr01z" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 3027A150984; Thu, 9 May 2024 12:56:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715259367; cv=none; b=m7V4+hupLodeH7N7oAWyAjD5UQQ5a/ONldvG/mZFqY/0cVEX9QYnxoFTACd4mc0FCbzCohAHtpj1M/TQbWJHjuluYm6In1ZNu0+ErNCXNYi2RtC3k9Q/1oCSinBmIPVOMFfUxAcguHNuHOrXdagRcQpNhrcJnIJDF12Dy2BGzt0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715259367; c=relaxed/simple; bh=JDF0xeyMENO/odeWyrMiImKcaqtEJAiCaQpN6vwM+FU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bZ83g0m4kyiLunAL621dbi6AGCrEHvgMjkxi4J7ZKWVgjjS0yY8Mf0a8ZNY62yYSkprY42DaCJD5Z3Zckx8351UvM/gCuIFVZo5xOXuxM1cFzbz0621f82/uNyhu7dqgYRTyFCXjFcfuYqgULoHubBH3b3FPNaJ61FNve+pdAjY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=cwAMr01z; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1715259360; bh=JDF0xeyMENO/odeWyrMiImKcaqtEJAiCaQpN6vwM+FU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cwAMr01zu7qFF8kZOVDcp+mmxiKgLmUqZQsZmlPlrJr8BjhtpkyVbLixqZ7XpOyrG bRSMZcqHSxTt9AaQ1zF+746lGsmLaH8usSIbMoSKR6hy4N7W3nachwtREkLsvwWvrx TLzrKqRV55wChbisWCk19t4dO2hjtWTzg2z0JOZk2T1WkBg26i6QOnr1y2frodnDTy uCQ508rQhWrMQFaBr3NmrFe202moFeH8cholN+Anb7uh8SWT5SF+L5Gd4qbCy2aQpr J2rTOpnL4aTAnVTD9ZTkgLm+na6qFgtAah4NiJcS3Gb9F9RjdowK0h/DGClWOqI1mk jJRtNGA+dPhpQ== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id BBF903782172; Thu, 9 May 2024 12:55:59 +0000 (UTC) Message-ID: <217a8630-de33-4886-b812-53541dcdf178@collabora.com> Date: Thu, 9 May 2024 14:55:59 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] gpiolib: acpi: Add ACPI device NULL check to acpi_can_fallback_to_crs() To: Laura Nao , mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com Cc: linus.walleij@linaro.org, brgl@bgdev.pl, kernel@collabora.com, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, "kernelci.org bot" References: <20240509104605.538274-1-laura.nao@collabora.com> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: <20240509104605.538274-1-laura.nao@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 09/05/24 12:46, Laura Nao ha scritto: > Check ACPI device for NULL inside acpi_can_fallback_to_crs(), so callers > won't need to. > > Signed-off-by: Laura Nao > Reported-by: "kernelci.org bot" > Closes: https://lore.kernel.org/all/20240426154208.81894-1-laura.nao@collabora.com/ > Fixes: 49c02f6e901c ("gpiolib: acpi: Move acpi_can_fallback_to_crs() out of __acpi_find_gpio()") > Reviewed-by: AngeloGioacchino Del Regno