diff options
author | John Garry <john.garry@huawei.com> | 2019-11-05 01:22:17 +0800 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2019-11-05 08:47:21 +0800 |
commit | 663accf1872b22c5eff05235d4750f3a253f5158 (patch) | |
tree | e2a43794617b6cd084d2dd1342c1f8d031943a42 /drivers/bus/Kconfig | |
parent | b8104fda1fff0882e43b7e98832a76d7e98eb3e9 (diff) | |
download | lwn-663accf1872b22c5eff05235d4750f3a253f5158.tar.gz lwn-663accf1872b22c5eff05235d4750f3a253f5158.zip |
bus: hisi_lpc: Clean some types
Sparse complains of these:
drivers/bus/hisi_lpc.c:82:38: warning: incorrect type in argument 1 (different address spaces)
drivers/bus/hisi_lpc.c:82:38: expected void const volatile [noderef] <asn:2>*addr
drivers/bus/hisi_lpc.c:82:38: got unsigned char *
drivers/bus/hisi_lpc.c:131:35: warning: incorrect type in argument 1 (different address spaces)
drivers/bus/hisi_lpc.c:131:35: expected unsigned char *mbase
drivers/bus/hisi_lpc.c:131:35: got void [noderef] <asn:2>*membase
drivers/bus/hisi_lpc.c:186:35: warning: incorrect type in argument 1 (different address spaces)
drivers/bus/hisi_lpc.c:186:35: expected unsigned char *mbase
drivers/bus/hisi_lpc.c:186:35: got void [noderef] <asn:2>*membase
drivers/bus/hisi_lpc.c:228:16: warning: cast to restricted __le32
drivers/bus/hisi_lpc.c:251:13: warning: incorrect type in assignment (different base types)
drivers/bus/hisi_lpc.c:251:13: expected unsigned int [unsigned] [usertype] val
drivers/bus/hisi_lpc.c:251:13: got restricted __le32 [usertype] <noident>
Clean them up.
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'drivers/bus/Kconfig')
0 files changed, 0 insertions, 0 deletions