[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<IA1PR20MB495362BA72EADB07698E487EBB972@IA1PR20MB4953.namprd20.prod.outlook.com>
Date: Fri, 30 Aug 2024 16:56:39 +0800
From: Inochi Amaoto <inochiama@...look.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Chen Wang <unicorn_wang@...look.com>, Inochi Amaoto <inochiama@...look.com>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] pinctrl: sophgo: cv18xx: fix missed __iomem type
identifier
On Fri, Aug 30, 2024 at 04:46:16PM GMT, Inochi Amaoto wrote:
> As the variable reg in "cv1800_pctrl_dbg_show" misses a "__iomem"
> type identifier, a warning will be issued by the compiler. Add
> this identifier to avoid this warning.
>
> Fixes: a29d8e93e710e ("pinctrl: sophgo: add support for CV1800B SoC")
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202408271555.kpOmi9I8-lkp@intel.com/
> Signed-off-by: Inochi Amaoto <inochiama@...look.com>
> ---
> drivers/pinctrl/sophgo/pinctrl-cv18xx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pinctrl/sophgo/pinctrl-cv18xx.c b/drivers/pinctrl/sophgo/pinctrl-cv18xx.c
> index e63cfcc37377..d18fc5aa84f7 100644
> --- a/drivers/pinctrl/sophgo/pinctrl-cv18xx.c
> +++ b/drivers/pinctrl/sophgo/pinctrl-cv18xx.c
> @@ -125,7 +125,7 @@ static void cv1800_pctrl_dbg_show(struct pinctrl_dev *pctldev,
> struct cv1800_pin *pin = cv1800_get_pin(pctrl, pin_id);
> enum cv1800_pin_io_type type = cv1800_pin_io_type(pin);
> u32 value;
> - void *reg;
> + void __iomem *reg;
>
> if (pin->pin >> PIN_BGA_ID_OFFSET)
> seq_printf(seq, "pos: %c%u ",
> --
> 2.46.0
>
Ignore this noise and use v2. I use a wrong format for the fixes.
Powered by blists - more mailing lists