summaryrefslogtreecommitdiff
path: root/mm/slab.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-10-10 12:14:16 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-10-30 13:46:04 +0300
commit9ccfa81725b92f9aec78bfb3e6c3e2e3c903e701 (patch)
tree34641e05583777f0b6c5efdc466ad79b90b3a698 /mm/slab.c
parenta3d95d1d4007b1fefd6d8b12db26fda05de05cfb (diff)
downloadlinux-9ccfa81725b92f9aec78bfb3e6c3e2e3c903e701.tar.xz
mmc: sdhci-msm: fix x86 build error
The __WARN_printf() function is not portable across architectures and causes a compile-time error on x86 and others that don't use the asm-generic version of asm/bug.h: drivers/mmc/host/sdhci-msm.c: In function 'sdhci_msm_check_power_status': drivers/mmc/host/sdhci-msm.c:1066:4: error: implicit declaration of function '__WARN_printf'; did you mean '__dev_printk'? [-Werror=implicit-function-declaration] __WARN_printf("%s: pwr_irq for req: (%d) timed out\n", ^~~~~~~~~~~~~ The change that introduced this error, "mmc: sdhci-msm: Add sdhci msm register write APIs which wait for pwr irq", likely meant to use dev_warn(), so I'm changing over to that. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions