summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-10-31 22:54:59 -0700
committerNitin Garg <nitin.garg@nxp.com>2018-11-02 20:50:09 -0500
commit34cf0e9cb58c2e7d107d0b84f33bc56e928d43d2 (patch)
tree55e719a91ca2f5a555fc77e57028df4a980dee63 /doc
parentaa4fea4f39d0c834a01b9261a6d64f3b5f600b7b (diff)
MLK-20157 spi: mxc_spi: Fix build warning on ARM64 platforms
When building mxc_spi driver on ARM64 platforms like iMX8MM, get such build warnings below. Fix it in this patch. In file included from include/common.h:48:0, from drivers/spi/mxc_spi.c:9: drivers/spi/mxc_spi.c: In function ‘spi_xchg_single’: drivers/spi/mxc_spi.c:232:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] _func_, bitlen, (u32)dout, (u32)din); ^ include/log.h:135:26: note: in definition of macro ‘debug_cond’ printf(pr_fmt(fmt), ##args); \ ^~~~ drivers/spi/mxc_spi.c:231:2: note: in expansion of macro ‘debug’ debug("%s: bitlen %d dout 0x%x din 0x%x\n", ^~~~~ drivers/spi/mxc_spi.c:232:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] _func_, bitlen, (u32)dout, (u32)din); ^ include/log.h:135:26: note: in definition of macro ‘debug_cond’ printf(pr_fmt(fmt), ##args); \ ^~~~ drivers/spi/mxc_spi.c:231:2: note: in expansion of macro ‘debug’ debug("%s: bitlen %d dout 0x%x din 0x%x\n", ^~~~~ Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions