mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
5ac188b12e
If riocm_get_channel() fails, then we should just return -EINVAL.
Calling riocm_put_channel() will trigger a NULL dereference and
generally we should call put() if the get() didn't succeed.
Link: http://lkml.kernel.org/r/20190110130230.GB27017@kadam
Fixes:
|
||
---|---|---|
.. | ||
devices | ||
switches | ||
Kconfig | ||
Makefile | ||
rio_cm.c | ||
rio-access.c | ||
rio-driver.c | ||
rio-scan.c | ||
rio-sysfs.c | ||
rio.c | ||
rio.h |