mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
5ed0505c71
Until recently uio_get_minor() returned 0 for success and a negative value on failure. This became non-negative for suceess and negative for failure. Restore the original return value spec so that we can successfully initialize UIO devices with a non-zero minor device number. Cc: "Hans J. Koch" <hjk@hansjkoch.de> Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
uio_aec.c | ||
uio_cif.c | ||
uio_dmem_genirq.c | ||
uio_netx.c | ||
uio_pci_generic.c | ||
uio_pdrv_genirq.c | ||
uio_pdrv.c | ||
uio_pruss.c | ||
uio_sercos3.c | ||
uio.c |