summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/3w-9xxx.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-05-01 04:13:41 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-05-15 18:20:57 +0200
commit5e43754fd949193252ecb470d7fb08b547a1e310 (patch)
tree8ae2fc9d4afd3299717ff8d0d21f4fc21555f7d8 /drivers/scsi/3w-9xxx.c
parent[SCSI] fc-transport: Close state transition-window during rport deletion. (diff)
downloadlinux-5e43754fd949193252ecb470d7fb08b547a1e310.tar.xz
linux-5e43754fd949193252ecb470d7fb08b547a1e310.zip
[SCSI] ses: fix problems caused by empty SES provided name
We use the name provided by SES to name objects. An empty name is legal in SES but causes problems in our generic device hierarchy. Fix this by falling back to a number if the name is either NULL or empty. Also fix a secondary bug spotted in that dev_set_name(dev, name) uses a string format and so would go wrong if name contained a '%'. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/3w-9xxx.c')
0 files changed, 0 insertions, 0 deletions