mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
dedab7f0d3
Currently the comparison of used < 0 is always false because
uses is a size_t. Fix this by making used a ssize_t type.
Detected by Coccinelle:
drivers/misc/ocxl/file.c:320:6-10: WARNING: Unsigned expression
compared with zero: used < 0
Fixes:
|
||
---|---|---|
.. | ||
afu_irq.c | ||
config.c | ||
context.c | ||
file.c | ||
Kconfig | ||
link.c | ||
main.c | ||
Makefile | ||
ocxl_internal.h | ||
pasid.c | ||
pci.c | ||
sysfs.c | ||
trace.c | ||
trace.h |