mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-04 17:34:19 +00:00
mana_gd_poll_cq() may return -1 if an overflow error is detected (this
should never happen unless there is a bug in the driver or the hardware).
Fix the type of the variable "comp_read" by using int rather than u32.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| gdma_main.c | ||
| gdma.h | ||
| hw_channel.c | ||
| hw_channel.h | ||
| Makefile | ||
| mana_en.c | ||
| mana_ethtool.c | ||
| mana.h | ||
| shm_channel.c | ||
| shm_channel.h | ||