mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: fix MISRA 17.7 in nvgpu.common.hal.fifo.*
MISRA Rule-17.7 requires the return value of all functions to be used. Fix is either to use the return value or change the function to return void. This patch contains fixes for all 17.7 violations in the following units: - nvgpu.common.hal.fifo.runlist - nvgpu.common.hal.fifo.fifo JIRA NVGPU-3039 Change-Id: I9483f5cb623cfe36d6b26e41c33f124c24710c08 Signed-off-by: Nicolas Benech <nbenech@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2098765 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
9449396ffc
commit
0435ca4eb3
@@ -118,8 +118,13 @@ void gk20a_fifo_teardown_ch_tsg(struct gk20a *g, u32 eng_bitmask,
|
||||
g->ops.fifo.intr_set_recover_mask(g);
|
||||
|
||||
g->ops.fifo.trigger_mmu_fault(g, engine_ids);
|
||||
gk20a_fifo_handle_mmu_fault_locked(g, mmu_fault_engines, ref_id,
|
||||
ref_id_is_tsg);
|
||||
/*
|
||||
* Ignore the "Verbose" flag from
|
||||
* gk20a_fifo_handle_mmu_fault_locked since it is not needed
|
||||
* here
|
||||
*/
|
||||
(void) gk20a_fifo_handle_mmu_fault_locked(g, mmu_fault_engines,
|
||||
ref_id, ref_id_is_tsg);
|
||||
|
||||
g->ops.fifo.intr_unset_recover_mask(g);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user