[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <67d35ca81debc_11987294cf@dwillia2-xfh.jf.intel.com.notmuch>
Date: Thu, 13 Mar 2025 15:31:04 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: Chenyuan Yang <chenyuan0y@...il.com>, <dave@...olabs.net>,
<jonathan.cameron@...wei.com>, <dave.jiang@...el.com>,
<alison.schofield@...el.com>, <vishal.l.verma@...el.com>,
<ira.weiny@...el.com>, <dan.j.williams@...el.com>
CC: <linux-cxl@...r.kernel.org>, <linux-kernel@...r.kernel.org>, Chenyuan Yang
<chenyuan0y@...il.com>
Subject: Re: [PATCH] cxl/acpi: Add Null check for adev
Chenyuan Yang wrote:
> Not all devices have an ACPI companion fwnode, so adev might be NULL.
> This is similar to the commit cd2fd6eab480 ("platform/x86: int3472:
> Check for adev == NULL").
No, please do not consume review bandwidth with patches like this.
Read the full commit you referenced it explicitly states the failing
condition:
"This can e.g. (theoretically) happen when a user manually binds one of
the int3472 drivers to another i2c/platform device through sysfs."
Then think through whether that theoretical condition applies to the
cxl_acpi driver and the ACPI0017 device.
Powered by blists - more mailing lists