linux/drivers/misc
Yinghai Lu 5e43754fd9 [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>
2009-05-15 12:20:57 -04:00
..
c2port
eeprom
hdpuftrs
ibmasm
sgi-gru
sgi-xp
atmel_pwm.c
atmel_tclib.c
atmel-ssc.c
enclosure.c [SCSI] ses: fix problems caused by empty SES provided name 2009-05-15 12:20:57 -04:00
hpilo.c
hpilo.h
ics932s401.c
ioc4.c
isl29003.c
Kconfig
kgdbts.c
lkdtm.c
Makefile
phantom.c
tifm_7xx1.c
tifm_core.c