Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: ufs: select CONFIG_NLS

A recent change to ufshcd introduced a call to utf16s_to_utf8s, a
function that is provided by the NLS module, so we get a link error when
that is not present:

drivers/scsi/built-in.o: In function `ufshcd_read_string_desc':
:(.text+0x124d0): undefined reference to `utf16s_to_utf8s'

This adds a Kconfig 'select' statement to avoid the build error.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: b573d484e4ff ("scsi: ufs: add support to read device and string descriptors")
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Arnd Bergmann and committed by
Martin K. Petersen
c80fa12e ef3fb242

+1
+1
drivers/scsi/ufs/Kconfig
··· 37 37 depends on SCSI && SCSI_DMA 38 38 select PM_DEVFREQ 39 39 select DEVFREQ_GOV_SIMPLE_ONDEMAND 40 + select NLS 40 41 ---help--- 41 42 This selects the support for UFS devices in Linux, say Y and make 42 43 sure that you know the name of your UFS host adapter (the card