summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorHillf Danton <dhillf@gmail.com>2011-03-31 16:38:47 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-20 03:56:03 +0400
commitc6edc42fe1b5562abae22beabbebd9e557527ae3 (patch)
tree757c9373b57ad7ca60925b0aec83bf60d0de953e /fs
parentf0c554fddd3be561542cd37acdb3adc9ec5483ee (diff)
downloadlinux-c6edc42fe1b5562abae22beabbebd9e557527ae3.tar.xz
uio: fix allocating minor id for uio device
The number of uio devices that could be used should be less than UIO_MAX_DEVICES by design, and this work guards any cases in which id more than UIO_MAX_DEVICES is utilized. Signed-off-by: Hillf Danton <dhillf@gmail.com> Signed-off-by: Hans J. Koch <hjk@hansjkoch.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions