[PATCH v4 2/5] phy: phy-can-transceiver: use device_get_match_data()
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Wed May 13 14:51:00 PDT 2026
On Wed, May 13, 2026 at 09:26:11PM +0000, sashiko-bot at kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [High] The error check for `device_get_match_data(dev)` is inverted, causing the driver probe to fail on success and triggering a NULL pointer dereference on failure.
Right, the typo due to rebase. Will fix in v5.
--
With Best Regards,
Andy Shevchenko
More information about the linux-phy
mailing list