summaryrefslogtreecommitdiff
path: root/lib/xxhash.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-02-26 17:00:48 +0300
committerMark Brown <broonie@kernel.org>2021-03-10 15:46:52 +0300
commite50989527faeafb79f45a0f7529ba8e01dff1fff (patch)
tree09f27c4ff86c85043b3cbf8a08c659d60add9508 /lib/xxhash.c
parentabdc5db39d7202a4038bf9041ee8b3e1ea03bc0d (diff)
downloadlinux-e50989527faeafb79f45a0f7529ba8e01dff1fff.tar.xz
spi: rockchip: avoid objtool warning
Building this file with clang leads to a an unreachable code path causing a warning from objtool: drivers/spi/spi-rockchip.o: warning: objtool: rockchip_spi_transfer_one()+0x2e0: sibling call from callable instruction with modified stack frame Change the unreachable() into an error return that can be handled if it ever happens, rather than silently crashing the kernel. Fixes: 65498c6ae241 ("spi: rockchip: support 4bit words") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Pratyush Yadav <p.yadav@ti.com> Link: https://lore.kernel.org/r/20210226140109.3477093-1-arnd@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/xxhash.c')
0 files changed, 0 insertions, 0 deletions