diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-07-15 17:59:44 -0500 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2025-07-16 10:51:36 -0400 |
| commit | 2f264d58cc805a3cefc6b98097f90fbc388136ef (patch) | |
| tree | fe90ca5fb30c248a79c2e9a42b4f8a572e1beba3 /scripts/gdb/linux/slab.py | |
| parent | 308dc9b27874d0e8a0258869b9e681b0fdd2e579 (diff) | |
drm/xe: Fix a NULL vs IS_ERR() bug in xe_i2c_register_adapter()
The fwnode_create_software_node() function returns error pointers. It
never returns NULL. Update the checks to match.
Fixes: f0e53aadd702 ("drm/xe: Support for I2C attached MCUs")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/65825d00-81ab-4665-af51-4fff6786a250@sabinyo.mountain
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions
