]> Git Repo - qemu.git/commit
monitor: Call mon_get_cpu() only once at hmp_gva2gpa()
authorEduardo Habkost <[email protected]>
Fri, 10 May 2019 18:56:20 +0000 (15:56 -0300)
committerDr. David Alan Gilbert <[email protected]>
Tue, 14 May 2019 18:00:04 +0000 (19:00 +0100)
commit9d3250d5ba8c4c5389530b861686e22e77fddcc7
tree80b616d06242e232762600f80b2d7745ea5015e2
parenta5f7b1a63ced35cc18fe8fa9e1679219fad9abde
monitor: Call mon_get_cpu() only once at hmp_gva2gpa()

hmp_gva2gpa() calls mon_get_cpu() twice, which is unnecessary.
Not an actual bug, but this is reported as a defect by Coverity
Scan (CID 1401346).

Signed-off-by: Eduardo Habkost <[email protected]>
Message-Id: <20190510185620[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
monitor.c
This page took 0.021762 seconds and 4 git commands to generate.