]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] sd: remove arbitrary SD_MAX_DISKS namespace limit
authorDave Kleikamp <dave.kleikamp@oracle.com>
Wed, 19 Oct 2011 16:49:04 +0000 (11:49 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 30 Oct 2011 08:58:11 +0000 (12:58 +0400)
commit21208ae5a21fd5f337e987cde11374eaf2fe70b4
tree3d835887fb1ce75e7dbf8b99f6086477db437c0e
parent6e88020025ccb6a6a0a54098acf1e187d2c9368c
[SCSI] sd: remove arbitrary SD_MAX_DISKS namespace limit

There is no reason to limit the SCSI disk namespace to sdXXX.

Add new error messages to sd_probe() in the unlikely event that either
ida_get_new() or sd_format_disk_name() fail.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/sd.c
drivers/scsi/sd.h