summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorWilliam Zhang <william.zhang@broadcom.com>2023-02-10 19:27:59 -0800
committerMark Brown <broonie@kernel.org>2023-02-13 12:45:01 +0000
commit2cca486cad4bf51da57cdad150697476a702ab69 (patch)
treec4104b5ec264b8eb96975d487cc4a88f5d5773cf /net
parent80323599e33f9c19287a1a3707481fb157b27052 (diff)
downloadlinux-2cca486cad4bf51da57cdad150697476a702ab69.tar.gz
linux-2cca486cad4bf51da57cdad150697476a702ab69.tar.bz2
linux-2cca486cad4bf51da57cdad150697476a702ab69.zip
spi: bcm63xx-hsspi: bcmbca-hsspi: fix _be16 type usage
sparse tool report warnings: drivers/spi/spi-bcm63xx-hsspi.c:197:31: sparse: sparse: cast from restricted __be16. The controller requires big endian 16 bit data. Define an intermediate u16 value and use __be16 piointer dereferncing for the data to avoid directly casting to u16 and sparse warning. Fixes: 85a84a616999 ("spi: bcm63xx-hsspi: Endianness fix for ARM based SoC") Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/oe-kbuild-all/202302110438.sQwQnU54-lkp@intel.com/ Signed-off-by: William Zhang <william.zhang@broadcom.com> Link: https://lore.kernel.org/r/20230211032759.72967-1-william.zhang@broadcom.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions