From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ran Sun <sunran001@208suo.com>,
alexander.deucher@amd.com, airlied@gmail.com, daniel@ffwll.ch
Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
Ran Sun <sunran001@208suo.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm/amd: Clean up errors in processpptables.c
Date: Tue, 01 Aug 2023 12:36:47 +0300 [thread overview]
Message-ID: <87leevw1cg.fsf@intel.com> (raw)
In-Reply-To: <20230801091425.7181-1-sunran001@208suo.com>
On Tue, 01 Aug 2023, Ran Sun <sunran001@208suo.com> wrote:
> Fix the following errors reported by checkpatch:
>
> ERROR: open brace '{' following function definitions go on the next line
> ERROR: code indent should use tabs where possible
> ERROR: space required before the open parenthesis '('
The commit message does not match the patch.
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
> drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c
> index 1866fe20f9e2..f05f011c78be 100644
> --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c
> +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c
> @@ -676,7 +676,7 @@ static PP_StateClassificationFlags make_classification_flags(
> static int init_non_clock_fields(struct pp_hwmgr *hwmgr,
> struct pp_power_state *ps,
> uint8_t version,
> - const ATOM_PPLIB_NONCLOCK_INFO *pnon_clock_info)
> + const ATOM_PPLIB_NONCLOCK_INFO *pnon_clock_info)
How about fixing *all* the style problems in the above in one go?
How about sending these fixes in a threaded series instead of filling
everyone's inboxes with individual patches? It's 30+ patches just today
already.
BR,
Jani.
> {
> unsigned long rrr_index;
> unsigned long tmp;
--
Jani Nikula, Intel Open Source Graphics Center
prev parent reply other threads:[~2023-08-01 9:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-01 9:14 [PATCH] drm/amd: Clean up errors in processpptables.c Ran Sun
2023-08-01 9:36 ` Jani Nikula [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=87leevw1cg.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sunran001@208suo.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