summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2026-08-07 17:56:29 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-08-08 15:02:50 +0200
commit4083d192f6f39130981cdb49615faade9162695d (patch)
tree60bdcf9e9a1ace2a781971fbe067c823f7dc0e3e /scripts/objdiff
parentfeb0ed76601f3c2f91f08688c5a7d8b9d382f720 (diff)
downloadlinux-4083d192f6f39130981cdb49615faade9162695d.tar.gz
linux-4083d192f6f39130981cdb49615faade9162695d.zip
i3c: Make dev->desc locking assumptions explicit
i3c_device_get_info() takes the bus normal-use lock before accessing dev->desc. Under that lock, the descriptor pointer is guaranteed to be valid for the duration of the access. Remove the unnecessary NULL check on dev->desc so the code more clearly reflects the locking rules and expected descriptor lifetime. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Mukesh Savaliya <mukesh.savaliya@oss.qualcomm.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260807145638.168865-6-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