lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 13 Feb 2023 19:06:08 +0100
From:   Alain Volmat <alain.volmat@...s.st.com>
To:     Colin Ian King <colin.i.king@...il.com>
CC:     David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
        <dri-devel@...ts.freedesktop.org>,
        <kernel-janitors@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][next] drm/sti: Fix spelling mistake "top_cmd_offest" ->
 "top_cmd_offset"

Hi,

thanks for the patch.


On Mon, Feb 13, 2023 at 10:05:22AM +0000, Colin Ian King wrote:
> There is a spelling mistake in a variable name. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
> ---
>  drivers/gpu/drm/sti/sti_hqvdp.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c
> index 02b77279f6e4..711a6e333afc 100644
> --- a/drivers/gpu/drm/sti/sti_hqvdp.c
> +++ b/drivers/gpu/drm/sti/sti_hqvdp.c
> @@ -797,7 +797,7 @@ static void sti_hqvdp_disable(struct sti_hqvdp *hqvdp)
>  static int sti_hqvdp_vtg_cb(struct notifier_block *nb, unsigned long evt, void *data)
>  {
>  	struct sti_hqvdp *hqvdp = container_of(nb, struct sti_hqvdp, vtg_nb);
> -	int btm_cmd_offset, top_cmd_offest;
> +	int btm_cmd_offset, top_cmd_offset;
>  	struct sti_hqvdp_cmd *btm_cmd, *top_cmd;
>  
>  	if ((evt != VTG_TOP_FIELD_EVENT) && (evt != VTG_BOTTOM_FIELD_EVENT)) {
> @@ -816,14 +816,14 @@ static int sti_hqvdp_vtg_cb(struct notifier_block *nb, unsigned long evt, void *
>  	if (hqvdp->btm_field_pending) {
>  		/* Create the btm field command from the current one */
>  		btm_cmd_offset = sti_hqvdp_get_free_cmd(hqvdp);
> -		top_cmd_offest = sti_hqvdp_get_curr_cmd(hqvdp);
> -		if ((btm_cmd_offset == -1) || (top_cmd_offest == -1)) {
> +		top_cmd_offset = sti_hqvdp_get_curr_cmd(hqvdp);
> +		if ((btm_cmd_offset == -1) || (top_cmd_offset == -1)) {
>  			DRM_DEBUG_DRIVER("Warning: no cmd, will skip field\n");
>  			return -EBUSY;
>  		}
>  
>  		btm_cmd = hqvdp->hqvdp_cmd + btm_cmd_offset;
> -		top_cmd = hqvdp->hqvdp_cmd + top_cmd_offest;
> +		top_cmd = hqvdp->hqvdp_cmd + top_cmd_offset;
>  
>  		memcpy(btm_cmd, top_cmd, sizeof(*btm_cmd));
>  
> -- 

Acked-by: Alain Volmat <alain.volmat@...s.st.com>

Alain

> 2.30.2
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ