]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: correct error message in comedi_alloc_subdevice_minor()
authorIan Abbott <abbotti@mev.co.uk>
Thu, 7 Feb 2013 16:03:01 +0000 (16:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Feb 2013 01:17:17 +0000 (17:17 -0800)
commitb12da2e4337ce235c4c5951b2217330587f3dda4
tree247ca53e05d182c117da7e9f92c5f3007d54c32c
parentda7185462e86b4832342d7e02e52b889126a0fcf
staging: comedi: correct error message in comedi_alloc_subdevice_minor()

`comedi_alloc_subdevice_minors()` currently prints a message about
running out of minor numbers board device files if it runs out of minor
device numbers.  Change it to complain about running out of minor device
numbers for subdevice files as these are in a different range, not
shared with those for board device files.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c