summaryrefslogtreecommitdiffstats
path: root/drivers/char/uv_mmtimer.c
diff options
context:
space:
mode:
authorEd Cashin <ecashin@coraid.com>2012-12-18 01:04:06 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 02:15:25 +0100
commitb91316f2b7bc0b1d128a9890a2a4895f7e1c74fc (patch)
tree2e031c215e742fb3cde7f2cd41230318667ba1a1 /drivers/char/uv_mmtimer.c
parentaoe: initialize sysminor to avoid compiler warning (diff)
downloadlinux-b91316f2b7bc0b1d128a9890a2a4895f7e1c74fc.tar.xz
linux-b91316f2b7bc0b1d128a9890a2a4895f7e1c74fc.zip
aoe: return real minor number for static minors
The value returned by the static minor device number number allocator is the real minor number, so it must be multiplied by the supported number of partitions per aoedev. Without this fix the support for systems without udev is incomplete, and the few users of aoe on such systems will have surprising results when device nodes names do not match the AoE target. Signed-off-by: Ed Cashin <ecashin@coraid.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/uv_mmtimer.c')
0 files changed, 0 insertions, 0 deletions