From: Alex Deucher <alexdeucher@gmail.com>
To: Yang Li <yang.lee@linux.alibaba.com>
Cc: "Deucher, Alexander" <alexander.deucher@amd.com>,
"Leo (Sunpeng) Li" <sunpeng.li@amd.com>,
xinhui pan <Xinhui.Pan@amd.com>,
"Siqueira, Rodrigo" <Rodrigo.Siqueira@amd.com>,
LKML <linux-kernel@vger.kernel.org>,
amd-gfx list <amd-gfx@lists.freedesktop.org>,
Dave Airlie <airlied@linux.ie>,
Maling list - DRI developers <dri-devel@lists.freedesktop.org>,
Christian Koenig <christian.koenig@amd.com>
Subject: Re: [PATCH -next] drm/amd/display: clean up some inconsistent indenting
Date: Thu, 7 Jul 2022 14:17:26 -0400 [thread overview]
Message-ID: <CADnq5_Pe_bOh_=oFFu=zhyR=kXNrcVjwFLj0T5zrtwX_ntpTyw@mail.gmail.com> (raw)
In-Reply-To: <20220707013812.64057-1-yang.lee@linux.alibaba.com>
Applied. Thanks!
Alex
On Wed, Jul 6, 2022 at 9:38 PM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> Eliminate the follow smatch warnings:
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:405 get_bios_object_from_path_v3() warn: inconsistent indenting
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:611 bios_parser_get_hpd_info() warn: inconsistent indenting
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:818 bios_parser_get_device_tag() warn: inconsistent indenting
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:1599 bios_parser_is_device_id_supported() warn: inconsistent indenting
>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
> .../gpu/drm/amd/display/dc/bios/bios_parser2.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
> index c332650b7048..6f514d92b401 100644
> --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
> +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
> @@ -402,7 +402,7 @@ static struct atom_display_object_path_v3 *get_bios_object_from_path_v3(
> return NULL;
> }
>
> - return NULL;
> + return NULL;
> }
>
> static enum bp_result bios_parser_get_i2c_info(struct dc_bios *dcb,
> @@ -605,8 +605,8 @@ static enum bp_result bios_parser_get_hpd_info(
> default:
> object = get_bios_object(bp, id);
>
> - if (!object)
> - return BP_RESULT_BADINPUT;
> + if (!object)
> + return BP_RESULT_BADINPUT;
>
> record = get_hpd_record(bp, object);
>
> @@ -810,10 +810,10 @@ static enum bp_result bios_parser_get_device_tag(
> /* getBiosObject will return MXM object */
> object = get_bios_object(bp, connector_object_id);
>
> - if (!object) {
> - BREAK_TO_DEBUGGER(); /* Invalid object id */
> - return BP_RESULT_BADINPUT;
> - }
> + if (!object) {
> + BREAK_TO_DEBUGGER(); /* Invalid object id */
> + return BP_RESULT_BADINPUT;
> + }
>
> info->acpi_device = 0; /* BIOS no longer provides this */
> info->dev_id = device_type_from_device_id(object->device_tag);
> @@ -1596,7 +1596,7 @@ static bool bios_parser_is_device_id_supported(
> break;
> }
>
> - return false;
> + return false;
> }
>
> static uint32_t bios_parser_get_ss_entry_number(
> --
> 2.20.1.7.g153144c
>
next prev parent reply other threads:[~2022-07-07 18:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-07 1:38 [PATCH -next] drm/amd/display: clean up some inconsistent indenting Yang Li
2022-07-07 18:17 ` Alex Deucher [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-07-01 9:19 Yang Li
2022-07-05 15:22 ` Alex Deucher
2022-01-29 1:04 Yang Li
2022-01-31 15:17 ` Harry Wentland
2022-01-31 20:15 ` Alex Deucher
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='CADnq5_Pe_bOh_=oFFu=zhyR=kXNrcVjwFLj0T5zrtwX_ntpTyw@mail.gmail.com' \
--to=alexdeucher@gmail.com \
--cc=Rodrigo.Siqueira@amd.com \
--cc=Xinhui.Pan@amd.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sunpeng.li@amd.com \
--cc=yang.lee@linux.alibaba.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;
as well as URLs for NNTP newsgroup(s).