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)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 14:40:20 +0000 (19:40 +0530)
commit46f0229a81db5be34c0018c2a43a8f2976eb5564
treef85438fc50708dda723c1919f031ebd42f101642
parent50ab5b5b20f5e1269f000dc0f0a14c4433cbbbd0
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