Brad Griffis a84ded5d3e drivers: misc: fix implicit conversion
The following error is observed when PCIE EP is enabled:

drivers/misc/nvscic2c-pcie/pci-client.c:766:24: error: implicit
conversion from ‘enum peer_cpu_t’ to ‘enum drv_mode_t’
[-Werror=enum-conversion]

Cast the return value to avoid the error.

Bug 4456727
Bug 4451567

Change-Id: Ie11b8231ed65771aaf1f91ff12f9c7bf104f8b2c
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3128564
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-05-01 09:55:54 -07:00
2024-04-18 13:57:02 -07:00
2022-12-07 23:57:14 -08:00
2024-02-26 03:10:53 -08:00
Description
No description provided
34 MiB