diff options
| author | Adrian Hunter <adrian.hunter@intel.com> | 2026-08-07 17:56:27 +0300 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-08-08 15:02:50 +0200 |
| commit | 4dc1b3eeba7991905a5b5b8129ebea51be7d87b7 (patch) | |
| tree | 120f33b28ff6816aea6d42994526616855d4b318 /scripts/objdiff | |
| parent | 8bed7f4fa710914b7f05fd59998316bfb4d43385 (diff) | |
| download | linux-4dc1b3eeba7991905a5b5b8129ebea51be7d87b7.tar.gz linux-4dc1b3eeba7991905a5b5b8129ebea51be7d87b7.zip | |
i3c: master: Do not treat master device as a duplicate target
i3c_master_search_i3c_dev_duplicate() searches the bus for another I3C
device with the same PID as the reference device. The search can match
master->this, causing the controller itself to be returned as a
duplicate.
Since the controller is not a target device, it cannot be a duplicate of
one. Exclude master->this from matching so that the function only
returns real duplicate target devices.
Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure")
Cc: stable@vger.kernel.org
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Mukesh Savaliya <mukesh.savaliya@oss.qualcomm.com>
Link: https://patch.msgid.link/20260807145638.168865-4-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
