[RESEND PATCH 3/5] nvmem: mtk-efuse: fix different address space warnings of sparse

2017-10-20 Thread Masahiro Yamada
Fix the following sparse warnings: drivers/nvmem/mtk-efuse.c:24:30: warning: incorrect type in initializer (different address spaces) drivers/nvmem/mtk-efuse.c:24:30:expected void [noderef] *base drivers/nvmem/mtk-efuse.c:24:30:got void *context drivers/nvmem/mtk-efuse.c:37:30: warning: i

Re: [PATCH 3/5] nvmem: mtk-efuse: fix different address space warnings of sparse

2017-09-20 Thread Sean Wang
On Mon, 2017-09-11 at 22:01 +0900, Masahiro Yamada wrote: > Fix the following sparse warnings: > > drivers/nvmem/mtk-efuse.c:24:30: warning: incorrect type in initializer > (different address spaces) > drivers/nvmem/mtk-efuse.c:24:30:expected void [noderef] *base > drivers/nvmem/mtk-efuse.c:2

[PATCH 3/5] nvmem: mtk-efuse: fix different address space warnings of sparse

2017-09-11 Thread Masahiro Yamada
Fix the following sparse warnings: drivers/nvmem/mtk-efuse.c:24:30: warning: incorrect type in initializer (different address spaces) drivers/nvmem/mtk-efuse.c:24:30:expected void [noderef] *base drivers/nvmem/mtk-efuse.c:24:30:got void *context drivers/nvmem/mtk-efuse.c:37:30: warning: i