mtip32xx: fix minor number
authorAsai Thambi SP <asamymuthupa@micron.com>
Mon, 11 May 2015 22:55:26 +0000 (15:55 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 16 Jun 2015 14:24:52 +0000 (08:24 -0600)
commit75787265d61fdce212c45805b36779754392d034
tree55d2163cf0832aad831056714bce81908440aea9
parent284eb9a202a24fec4aed02d7526abc29827f6cbb
mtip32xx: fix minor number

When a device is surprise removed and inserted, it is assigned a new minor
number because driver use multiples of 'instance' number. Modified to use the
multiples of 'index' for minor number.

Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/mtip32xx/mtip32xx.c
This page took 0.043082 seconds and 5 git commands to generate.