From: Hillf Danton Date: Thu, 31 Mar 2011 12:38:47 +0000 (+0800) Subject: uio: fix allocating minor id for uio device X-Git-Tag: v3.0-rc1~390^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6edc42fe1b5562abae22beabbebd9e557527ae3;p=pandora-kernel.git 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 Signed-off-by: Hans J. Koch Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed