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.h | ||
gdma_main.c | ||
hw_channel.c | ||
hw_channel.h | ||
Makefile | ||
mana.h | ||
mana_en.c | ||
mana_ethtool.c | ||
shm_channel.c | ||
shm_channel.h |