nviida-oot: fix sparse errors in ivc driver

Using this patch we are fixing below sparse
errors :-
1. drivers/virt/tegra/ivc-cdev.c:172:22:
   warning: invalid assignment: |=

Bug 3954363

Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Change-Id: I48ec4a51fc03078859101c70563ff5accedeaa53
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2863101
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Manish Bhardwaj
2023-02-24 15:03:59 +05:30
committed by mobile promotions
parent e04d8c343f
commit 32157fc224

View File

@@ -169,7 +169,7 @@ static __poll_t ivc_dev_poll(struct file *filp, poll_table *wait)
/* If we have rcvd ivc interrupt, inform the user */
mutex_lock(&ivcd->file_lock);
if (ivcd->ivc_intr_rcvd == true) {
mask |= POLLIN | POLLRDNORM;
mask |= ((__force __poll_t)POLLIN) | ((__force __poll_t)POLLRDNORM);
ivcd->ivc_intr_rcvd = false;
}
mutex_unlock(&ivcd->file_lock);