From: Thomas Huth <thuth@redhat.com>
To: Amarjargal Gundjalam <amarjargal16@gmail.com>, qemu-devel@nongnu.org
Cc: kraxel@redhat.com
Subject: Re: [PATCH v2 1/4] ui: fix tab indentation
Date: Fri, 21 Oct 2022 14:16:40 +0200 [thread overview]
Message-ID: <dca85549-6356-d185-eb29-9d0a8f5f1421@redhat.com> (raw)
In-Reply-To: <fb5ec3a9f6f22bcf090a5805f514d36e7da54336.1666110191.git.amarjargal16@gmail.com>
On 18/10/2022 18.25, Amarjargal Gundjalam wrote:
> The TABs should be replaced with spaces, to make sure that we have a
> consistent coding style with an indentation of 4 spaces everywhere.
>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/370
>
> Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com>
Hi!
Thanks for tackling this! Some comments below...
> diff --git a/ui/vnc-enc-zywrle.h b/ui/vnc-enc-zywrle.h
> index 9b7f698975..f74ad81749 100644
> --- a/ui/vnc-enc-zywrle.h
> +++ b/ui/vnc-enc-zywrle.h
> @@ -51,14 +51,14 @@ static const unsigned int zywrle_param[3][3]={
> {0x0000F000, 0x00000000, 0x00000000},
> {0x0000C000, 0x00F0F0F0, 0x00000000},
> {0x0000C000, 0x00C0C0C0, 0x00F0F0F0},
> -/* {0x0000FF00, 0x00000000, 0x00000000},
> +/* {0x0000FF00, 0x00000000, 0x00000000},
I think this curly brace was meant to be aligned with the other curly braces
above and below ... could you add some spaces?
> {0x0000FF00, 0x00FFFFFF, 0x00000000},
> {0x0000FF00, 0x00FFFFFF, 0x00FFFFFF}, */
> };
> #else
> /* Type B:Non liner quantization filter. */
> static const int8_t zywrle_conv[4][256]={
> -{ /* bi=5, bo=5 r=0.0:PSNR=24.849 */
> +{ /* bi=5, bo=5 r=0.0:PSNR=24.849 */
This likely was also meant to be aligned with the numbers below... could you
add some spaces?
Same applies for the other "bi=5" comments that you've changed.
Thomas
next prev parent reply other threads:[~2022-10-21 12:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-18 16:25 [PATCH v2 0/4] ui:hw: fix tab indentation Amarjargal Gundjalam
2022-10-18 16:25 ` [PATCH v2 1/4] ui: " Amarjargal Gundjalam
2022-10-21 12:16 ` Thomas Huth [this message]
2022-10-18 16:25 ` [PATCH v2 2/4] hw/audio: " Amarjargal Gundjalam
2022-10-18 16:25 ` [PATCH v2 3/4] hw/display: " Amarjargal Gundjalam
2022-10-18 16:25 ` [PATCH v2 4/4] hw/usb: " Amarjargal Gundjalam
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=dca85549-6356-d185-eb29-9d0a8f5f1421@redhat.com \
--to=thuth@redhat.com \
--cc=amarjargal16@gmail.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).