diff --git a/drivers/uacce/uacce.c b/drivers/uacce/uacce.c index 120256d06faabd3e6c2351f46f7e0a14129830e6..572151ba38ad66e12a05b51fec28c1a4f58464e7 100644 --- a/drivers/uacce/uacce.c +++ b/drivers/uacce/uacce.c @@ -1054,7 +1054,7 @@ static __poll_t uacce_fops_poll(struct file *file, poll_table *wait) { struct uacce_queue *q; struct uacce *uacce; - int ret = 0; + __poll_t ret = 0; uacce_qs_wlock(); @@ -1217,7 +1217,7 @@ static ssize_t isolate_strategy_store(struct device *dev, const char *buf, size_t count) { struct uacce *uacce = UACCE_FROM_CDEV_ATTR(dev); - unsigned long val; + unsigned long val = 0; /* must be set by PF */ if (uacce->is_vf)