WSL2-Linux-Kernel/drivers/uio
Damian Hobson-Garcia 5ed0505c71 drivers: uio: Fix UIO device registration failure
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>
2013-03-29 09:08:22 -07:00
..
Kconfig uio: remove !S390 dependency from Kconfig 2013-02-14 15:55:18 +01:00
Makefile Add new uio device for dynamic memory allocation 2012-10-24 15:39:08 -07:00
uio.c drivers: uio: Fix UIO device registration failure 2013-03-29 09:08:22 -07:00
uio_aec.c uio: remove use of __devinit 2012-11-21 13:41:35 -08:00
uio_cif.c uio: remove use of __devinitdata 2012-11-21 13:41:35 -08:00
uio_dmem_genirq.c drivers: uio: Only allocate new private data when probing device tree node 2012-11-21 13:44:10 -08:00
uio_netx.c uio: remove use of __devinit 2012-11-21 13:41:35 -08:00
uio_pci_generic.c uio: remove use of __devinit 2012-11-21 13:41:35 -08:00
uio_pdrv.c uio_pdrv: set memory mapping name 2012-11-15 17:29:07 -08:00
uio_pdrv_genirq.c drivers: uio: Only allocate new private data when probing device tree node 2012-11-21 13:44:10 -08:00
uio_pruss.c ARM: arm-soc: SoC updates for 3.8 2012-12-12 12:05:15 -08:00
uio_sercos3.c uio: remove use of __devinitdata 2012-11-21 13:41:35 -08:00