mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: engines MISRA fixes for Rule 10.3
Use BIT32 for shift operation on u32 act_eng_id. Jira NVGPU-3385 Change-Id: I92f55bceafb87ba385786360f8df95f128b92351 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2113034 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
778f6b2874
commit
6fe4c09c68
@@ -894,7 +894,7 @@ u32 nvgpu_engine_get_runlist_busy_engines(struct gk20a *g, u32 runlist_id)
|
||||
engine_busy = engine_status.is_busy;
|
||||
|
||||
if (engine_busy && engine_runlist == runlist_id) {
|
||||
eng_bitmask |= BIT(act_eng_id);
|
||||
eng_bitmask |= BIT32(act_eng_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user