public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: "Baoyou Xie" <baoyou.xie@linaro.org>,
	"Deucher, Alexander" <alexander.deucher@amd.com>,
	"Dave Airlie" <airlied@linux.ie>, "Rex Zhu" <Rex.Zhu@amd.com>,
	"Zhou, Jammy" <Jammy.Zhou@amd.com>,
	"Eric Huang" <JinHuiEric.Huang@amd.com>,
	"Tom St Denis" <tom.stdenis@amd.com>,
	"Edward O'Callaghan" <funfunctor@folklore1984.net>,
	"Vitaly Prosyak" <vitaly.prosyak@amd.com>,
	"Eric Yang" <eric.yang2@amd.com>, yanyang1 <Young.Yang@amd.com>,
	"Huang Rui" <ray.huang@amd.com>,
	"Dan Carpenter" <dan.carpenter@oracle.com>,
	"Flora Cui" <Flora.Cui@amd.com>,
	"Nils Wallménius" <nils.wallmenius@gmail.com>,
	"monk.liu" <Monk.Liu@amd.com>, "Ken Wang" <Qingqing.Wang@amd.com>,
	"Min, Frank" <Frank.Min@amd.com>,
	tang.qiang007@zte.com.cn, xie.baoyou@zte.com.cn,
	LKML <linux-kernel@vger.kernel.org>,
	"Maling list - DRI developers" <dri-devel@lists.freedesktop.org>,
	han.fei@zte.com.cn
Subject: Re: [PATCH] drm/amd/powerplay: mark symbols static where possible
Date: Mon, 24 Oct 2016 21:49:12 +0200	[thread overview]
Message-ID: <3749845.re3cZTKYeA@wuerfel> (raw)
In-Reply-To: <CADnq5_OwjmCJRjCj-VhE1jkL-e=Cy83Y=Hu1ftEFbX3TfKi4Cw@mail.gmail.com>

On Monday, October 24, 2016 12:36:52 PM CEST Alex Deucher wrote:
> On Sat, Oct 22, 2016 at 4:56 AM, Baoyou Xie <baoyou.xie@linaro.org> wrote:
> > We get a few warnings when building kernel with W=1:
> > drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:162:5: warning: no previous prototype for 'fiji_setup_pwr_virus' [-Wmissing-prototypes]
> > drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smc.c:2052:5: warning: no previous prototype for 'fiji_program_mem_timing_parameters' [-Wmissing-prototypes]
> > drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.c:175:5: warning: no previous prototype for 'polaris10_avfs_event_mgr' [-Wmissing-prototypes]
> > drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/cz_hwmgr.c:1020:5: warning: no previous prototype for 'cz_tf_reset_acp_boot_level' [-Wmissing-prototypes]
> > drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:92:26: warning: no previous prototype for 'cast_phw_smu7_power_state' [-Wmissing-prototypes]
> > ....
> >
> > In fact, these functions are only used in the file in which they are
> > declared and don't need a declaration, but can be made static.
> > So this patch marks these functions with 'static'.
> >
> > Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
> 
> This was already applied the last time you sent it out.  Sorry if I
> didn't mention that previously.

For some reason the patch hasn't made it into linux-next, so I can see
why Baoyou was getting confused here. Can you clarify what the timeline
is for the AMD DRM driver patches from between they get applied to the
AMD tree to when they make it into linux-next?

I've occasionally had a hard time with DRM (and a few other subsystems)
with bugfix patches trying to find out whether they got lost or
whether they just haven't made it into -next but are in some other tree.

Baoyou, when you resend a patch, please try to list explicitly why
you are resending it, when it was last sent, and what kind of reply
you got (integrating any Ack, listing what changes you did, and
if there are no other changes, why you think you have to resend it).

	Arnd

  reply	other threads:[~2016-10-24 19:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-22  8:56 [PATCH] drm/amd/powerplay: mark symbols static where possible Baoyou Xie
2016-10-22  9:28 ` Edward O'Callaghan
2016-10-24 16:36 ` Alex Deucher
2016-10-24 19:49   ` Arnd Bergmann [this message]
2016-10-24 20:07     ` Deucher, Alexander
2016-10-24 20:41       ` Arnd Bergmann
2016-10-25  6:41         ` Daniel Vetter
2016-10-25  7:09           ` Christian König
2016-10-25  8:11             ` Daniel Vetter
2016-10-24 20:51 ` Arnd Bergmann
     [not found]   ` <CA+DQWkxdO72H4ZbUkYyJwPOe2JGRv_Tz1eUkZ5=FJoOonoWp=Q@mail.gmail.com>
2016-10-25  8:15     ` Arnd Bergmann
2016-10-25 20:07       ` Deucher, Alexander

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=3749845.re3cZTKYeA@wuerfel \
    --to=arnd@arndb.de \
    --cc=Flora.Cui@amd.com \
    --cc=Frank.Min@amd.com \
    --cc=Jammy.Zhou@amd.com \
    --cc=JinHuiEric.Huang@amd.com \
    --cc=Monk.Liu@amd.com \
    --cc=Qingqing.Wang@amd.com \
    --cc=Rex.Zhu@amd.com \
    --cc=Young.Yang@amd.com \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=baoyou.xie@linaro.org \
    --cc=dan.carpenter@oracle.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=eric.yang2@amd.com \
    --cc=funfunctor@folklore1984.net \
    --cc=han.fei@zte.com.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nils.wallmenius@gmail.com \
    --cc=ray.huang@amd.com \
    --cc=tang.qiang007@zte.com.cn \
    --cc=tom.stdenis@amd.com \
    --cc=vitaly.prosyak@amd.com \
    --cc=xie.baoyou@zte.com.cn \
    /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