mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
35af9fb49b
If allocation fails, the ida_simple_get() will return error number.
So master->idx could be error number and be used in dev_set_name().
Therefore, it should be better to check it and return error if fails,
like the ida_simple_get() in __fsi_get_new_minor().
Fixes:
|
||
---|---|---|
.. | ||
cf-fsi-fw.h | ||
fsi-core.c | ||
fsi-master-aspeed.c | ||
fsi-master-ast-cf.c | ||
fsi-master-gpio.c | ||
fsi-master-hub.c | ||
fsi-master.h | ||
fsi-occ.c | ||
fsi-sbefifo.c | ||
fsi-scom.c | ||
Kconfig | ||
Makefile |