android_kernel_xiaomi_sm8350/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 at25: make input buffers of at25_*write() const 2009-04-13 15:04:32 -07:00
hdpuftrs
ibmasm
sgi-gru sgi-xp/sgi-gru: allow modules to load on non-uv systems 2009-04-21 13:41:50 -07:00
sgi-xp sgi-xp/sgi-gru: allow modules to load on non-uv systems 2009-04-21 13:41:50 -07:00
atmel_pwm.c
atmel_tclib.c
atmel-ssc.c atmel-ssc: fix misuse of dev_dbg when requested ssc instance is not found 2009-02-05 12:56:48 -08:00
enclosure.c [SCSI] ses: fix problems caused by empty SES provided name 2009-05-15 12:20:57 -04:00
hpilo.c hpilo: reduce frequency of IO operations 2009-04-01 08:59:18 -07:00
hpilo.h hpilo: reduce frequency of IO operations 2009-04-01 08:59:18 -07:00
ics932s401.c
ioc4.c
isl29003.c isl29003: fix resume functionality 2009-05-06 16:36:10 -07:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-04-03 15:24:35 -07:00
kgdbts.c
lkdtm.c
Makefile drivers/misc/isl29003.c: driver for the ISL29003 ambient light sensor 2009-04-01 08:59:18 -07:00
phantom.c
tifm_7xx1.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
tifm_core.c