staging:rts_pstor:Avoid "Bad target number" message when probing driver
authorwwang <wei_wang@realsil.com.cn>
Tue, 27 Mar 2012 08:43:20 +0000 (16:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:18:16 +0000 (09:18 -0700)
commitb5bd70a162492a76ee49065605ca15d484bb623a
tree5ef408ea4003c35ccc89cfe4da32e416a18a1e5a
parent0d05568ac79bfc595f1eadc3e0fd7a20a45f7b69
staging:rts_pstor:Avoid "Bad target number" message when probing driver

Avoid "Bad LUN" and "Bad target number" message by setting the supported
max_lun and max_id for the scsi host

Signed-off-by: wwang <wei_wang@realsil.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts_pstor/rtsx.c