Re: [PATCH v2 01/28] soc: fsl: cpm1: tsa: Fix __iomem addresses declaration

2023-08-08 Thread Christophe Leroy
Le 26/07/2023 à 17:01, Herve Codina a écrit : > Running sparse (make C=1) on tsa.c raises a lot of warning such as: >--- 8< --- >warning: incorrect type in assignment (different address spaces) > expected void *[noderef] si_regs > got void [noderef] __iomem * >--- 8< ---

[PATCH v2 01/28] soc: fsl: cpm1: tsa: Fix __iomem addresses declaration

2023-07-26 Thread Herve Codina
Running sparse (make C=1) on tsa.c raises a lot of warning such as: --- 8< --- warning: incorrect type in assignment (different address spaces) expected void *[noderef] si_regs got void [noderef] __iomem * --- 8< --- Indeed, some variable were declared 'type *__iomem var' instead