mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
driver/misc/mods: fix coverity issue
Fix coverity issue CID 10165202 Bug 3461002 Signed-off-by: Koen Zhao <koenz@nvidia.com> Change-Id: I398dcb0e5a5b0027da09be4d23f88c6067da38cc Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2836338 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* This file is part of NVIDIA MODS kernel driver.
|
||||
*
|
||||
* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* NVIDIA MODS kernel driver is free software: you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License,
|
||||
@@ -106,7 +106,7 @@ static int bpmp_ipc_recv(struct mods_client *client,
|
||||
const void *frame;
|
||||
ktime_t end;
|
||||
|
||||
end = ktime_add_us(ktime_get(), timeout_ms * 1000);
|
||||
end = ktime_add_ms(ktime_get(), timeout_ms);
|
||||
do {
|
||||
frame = tegra_ivc_read_get_next_frame(ivc);
|
||||
if (!IS_ERR(frame))
|
||||
|
||||
Reference in New Issue
Block a user