summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-07-15 17:59:44 -0500
committerRodrigo Vivi <rodrigo.vivi@intel.com>2025-07-28 10:22:22 -0400
commit2bd986021c297ba675e831c3164bf9bdbbca3bc3 (patch)
treed09b22dc233a820b0d7050b3aba59bf01c01271b /rust/helpers/helpers.c
parent6aaceed7fe1a400082ec5990884b11ef7266a605 (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> (cherry picked from commit 2f264d58cc805a3cefc6b98097f90fbc388136ef) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions