(different address spaces)
expected void *cpu_addr
got unsigned char [noderef] [usertype] *virt_base
Signed-off-by: Laurence Rochfort
---
Changes in v3:
- Just remove the __iommem cookie, don't alter type.
drivers/staging/gasket/gasket_core.h | 2 +-
1 file changed, 1 insertion(+), 1 del
On Tue, Oct 09, 2018 at 03:13:03PM +0200, Greg Kroah-Hartman wrote:
> On Thu, Oct 04, 2018 at 06:52:25PM +0100, Laurence Rochfort wrote:
> > Silence the below sparse warnings by casting betwen u8 __iomem *, and
> > void *.
> >
> > warning: incorrect type in assignmen
)
expected void *cpu_addr
got unsigned char [noderef] [usertype] *virt_base
Signed-off-by: Laurence Rochfort
---
drivers/staging/gasket/gasket_page_table.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/gasket/gasket_page_table.c
b/drivers/staging
Fix sparse warning: Using plain integer as NULL pointer
Signed-off-by: Laurence Rochfort
---
drivers/staging/most/dim2/dim2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/most/dim2/dim2.c b/drivers/staging/most/dim2/dim2.c
index fe90a7c..31fbc1a 100644
4 matches
Mail list logo