mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08: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 | ||