summaryrefslogtreecommitdiff
path: root/include/mtd/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorBen Horgan <ben.horgan@arm.com>2026-04-14 14:27:56 +0100
committerJames Morse <james.morse@arm.com>2026-04-17 17:48:07 +0100
commit67c0a487efa542cca9477ea84915db2e091f98d0 (patch)
tree34e09e558e7bf3a9c66ea502312139cb7c4248c7 /include/mtd/git@git.tavy.me:linux-stable.git
parentf758340da529ccb12531c3f83d5992e912f6c8d5 (diff)
arm_mpam: resctrl: Fix the check for no monitor components found
Dan Carpenter reports that, in mpam_resctrl_alloc_domain(), any_mon_comp is used in an 'if' condition when it may be uninitialized. Initialize it to NULL so that the check behaves correctly when no monitor components are found. Reported-by: Dan Carpenter <error27@gmail.com> Fixes: 264c285999fc ("arm_mpam: resctrl: Add monitor initialisation and domain boilerplate") Signed-off-by: Ben Horgan <ben.horgan@arm.com> Reviewed-by: Gavin Shan <gshan@redhat.com> Signed-off-by: James Morse <james.morse@arm.com>
Diffstat (limited to 'include/mtd/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions