mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 18:42:29 +03:00
gpu: nvgpu: unit: fix test_falcon_mem_rw_zero
Memory type parameter was set to MEM_IMEM always in the falcon test test_falcon_mem_rw_zero. Fix it. JIRA NVGPU-4126 Change-Id: I49711a8167942c87f965bb135132c224bf55d117 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2208835 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
c7d51e4838
commit
5f2a64baa7
@@ -793,7 +793,7 @@ int test_falcon_mem_rw_zero(struct unit_module *m, struct gk20a *g,
|
||||
|
||||
for (i = 0; i < MAX_MEM_TYPE; i++) {
|
||||
/* write/read zero bytes should fail*/
|
||||
err = falcon_check_read_write(g, m, pmu_flcn, MEM_IMEM, dst,
|
||||
err = falcon_check_read_write(g, m, pmu_flcn, i, dst,
|
||||
byte_cnt, -EINVAL);
|
||||
if (err) {
|
||||
return UNIT_FAIL;
|
||||
|
||||
Reference in New Issue
Block a user