aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-21 01:57:41 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-08 13:54:17 +0100
commitec3672b81fc8ff490e478bc5124f68c2be7174ee (patch)
tree397cbf55885172c99932eff0d0528e0c4a8062bd /tools/perf/scripts/python/bin
parentnvmem: mtk-efuse: fix different address space warnings of sparse (diff)
downloadlinux-ec3672b81fc8ff490e478bc5124f68c2be7174ee.tar.gz
linux-ec3672b81fc8ff490e478bc5124f68c2be7174ee.zip
nvmem: qfprom: fix different address space warnings of sparse
Fix the following sparse warnings: drivers/nvmem/qfprom.c:23:30: warning: incorrect type in initializer (different address spaces) drivers/nvmem/qfprom.c:23:30: expected void [noderef] <asn:2>*base drivers/nvmem/qfprom.c:23:30: got void *context drivers/nvmem/qfprom.c:36:30: warning: incorrect type in initializer (different address spaces) drivers/nvmem/qfprom.c:36:30: expected void [noderef] <asn:2>*base drivers/nvmem/qfprom.c:36:30: got void *context drivers/nvmem/qfprom.c:76:22: warning: incorrect type in assignment (different address spaces) drivers/nvmem/qfprom.c:76:22: expected void *static [toplevel] [assigned] priv drivers/nvmem/qfprom.c:76:22: got void [noderef] <asn:2>*[assigned] base The type of nvmem_config->priv is (void *), so sparse complains about assignment of the base address with (void __iomem *) type. Even if we cast it out, sparse still warns: warning: cast removes address space of expression Of course, we can shut up the sparse by marking __force, but a more correct way is to put the base address into driver private data. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
/linux/commit/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c?id=f0992ace680c7a1b5b62da2103602bd7e6eb63cd&follow=1'>brcmfmac: prohibit ACPI power management for brcmfmac driverFu, Zhonghui1-0/+9 2015-05-26rtlwifi: rtl8192cu: Remove rtl92c_init_beacon_max_error's parameterTaehee Yoo3-3/+3 2015-05-26rtlwifi: rtl8192cu: Remove setting REG_BCN_MAX_ERR code in _rtl92cu_set_media...Taehee Yoo1-1/+0 2015-05-26rtlwifi: rtl8188ee: Fix pwrseqcmd.h include path.Lauri Kenttä2-2/+2 2015-05-25cxgb4: Add PHY firmware support for T420-BT cardsHariprasad Shenai4-42/+375 2015-05-25test_bpf: add more eBPF jump torture casesDaniel Borkmann1-0/+67 2015-05-25amd-xgbe: Add more netif_dbg output to the driverLendacky, Thomas1-6/+62 2015-05-25amd-xgbe: Fix initial mode when auto-negotiation is disabledLendacky, Thomas1-3/+42 2015-05-25amd-xgbe: Add setting of a missing hardware featureLendacky, Thomas1-0/+1 2015-05-25ip: reject too-big defragmented DF-skb when forwardingFlorian Westphal1-7/+11 2015-05-25net: af_unix: implement splice for stream af_unix socketsHannes Frederic Sowa3-21/+121 2015-05-25net: make skb_splice_bits more configureableHannes Frederic Sowa3-21/+40 2015-05-25net: af_unix: implement stream sendpage supportHannes Frederic Sowa1-1/+98 2015-05-25net: skbuff: add skb_append_pagefrags and use itHannes Frederic Sowa3-11/+25 2015-05-24net/mlx4_core: Enable single ported IB VFsOr Gerlitz2-12/+11 2015-05-24net/mlx4_core: Adjust the schedule queue port in reset-to-init tooOr Gerlitz1-0/+8 2015-05-24net/mlx4_core: Adjust the schedule queue port for single ported IB VFsOr Gerlitz1-2/+2 2015-05-24net/mlx4_core: Modify port values when generting EQEs for VFsOr Gerlitz2-5/+26 2015-05-24IB/mlx4: Convert slave port before building address-handleOr Gerlitz1-4/+7 2015-05-24net/mlx4_core: Enhance the MAD_IFC wrapper to convert VF port to physicalOr Gerlitz1-4/+6 2015-05-24enic: Grammar s/an negative/a negative/Geert Uytterhoeven1-1/+1