dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: hjc@rock-chips.com, dri-devel@lists.freedesktop.org,
	Alfredo Cruz <alfredo.carlon@gmail.com>
Cc: Alfredo Cruz <alfredo.carlon@gmail.com>
Subject: Re: [PATCH] drm/rockchip: vop2: add error check to devm_regmap_init_mmio
Date: Wed, 22 Mar 2023 22:57:43 +0100	[thread overview]
Message-ID: <4696479.44csPzL39Z@phil> (raw)
In-Reply-To: <20230314191532.33693-1-alfredo.carlon@gmail.com>

Hi Alfredo,

while I do agree with the patch content, there are missing:
a patch description ... just a customary thing for a change like this

but more importantly the Signed-off-by line .


Heiko

Am Dienstag, 14. März 2023, 20:15:32 CET schrieb Alfredo Cruz:
> ---
>  drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
> index 03ca32cd2050..4bde2d354462 100644
> --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
> +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
> @@ -2680,6 +2680,8 @@ static int vop2_bind(struct device *dev, struct device *master, void *data)
>  	vop2->len = resource_size(res);
>  
>  	vop2->map = devm_regmap_init_mmio(dev, vop2->regs, &vop2_regmap_config);
> +	if (IS_ERR(vop2->map))
> +		return PTR_ERR(vop2->map);
>  
>  	ret = vop2_win_init(vop2);
>  	if (ret)
> 





      reply	other threads:[~2023-03-22 21:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-14 19:15 [PATCH] drm/rockchip: vop2: add error check to devm_regmap_init_mmio Alfredo Cruz
2023-03-22 21:57 ` Heiko Stuebner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4696479.44csPzL39Z@phil \
    --to=heiko@sntech.de \
    --cc=alfredo.carlon@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hjc@rock-chips.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox