From: Samuel Pitoiset <samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Karol Herbst <nouveau-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org>,
nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH] debugfs: don't emit parameter names
Date: Wed, 13 Jan 2016 16:44:45 +0100 [thread overview]
Message-ID: <569670ED.7080502@gmail.com> (raw)
In-Reply-To: <56965229.5070206-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On 01/13/2016 02:33 PM, Samuel Pitoiset wrote:
>
>
> On 01/13/2016 02:12 PM, Karol Herbst wrote:
>> fixes a compile error
>
> Yeah, and this is probably not the only error you will hit...
> This is happens when CONFIG_DEBUG_FS is set.
>
> You need to include "nouveau_drm.h" and to fix nouveau_debugfs.c too.
Okay I read the patch too quickly. nouveau-debugfs.c is not compiled
when CONFIG_DEBUG_FS is disabled, so this is enough to fix the
compilation error.
However, I think your commit message needs to be updated.
What about s/emit/omit/? :-)
With that commit message fixed, this patch is:
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
>
>>
>> Signed-off-by: Karol Herbst <nouveau@karolherbst.de>
>> ---
>> drm/nouveau/nouveau_debugfs.h | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drm/nouveau/nouveau_debugfs.h
>> b/drm/nouveau/nouveau_debugfs.h
>> index 52c7161..b8c03ff 100644
>> --- a/drm/nouveau/nouveau_debugfs.h
>> +++ b/drm/nouveau/nouveau_debugfs.h
>> @@ -34,13 +34,13 @@ nouveau_drm_debugfs_cleanup(struct drm_minor *minor)
>> }
>>
>> static inline int
>> -nouveau_debugfs_init(struct nouveau_drm *)
>> +nouveau_debugfs_init(struct nouveau_drm *drm)
>> {
>> return 0;
>> }
>>
>> static inline void
>> -nouveau_debugfs_fini(struct nouveau_drm *)
>> +nouveau_debugfs_fini(struct nouveau_drm *drm)
>> {
>> }
>>
>>
>
--
-Samuel
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
prev parent reply other threads:[~2016-01-13 15:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-13 13:12 [PATCH] debugfs: don't emit parameter names Karol Herbst
[not found] ` <1452690745-7174-1-git-send-email-nouveau-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org>
2016-01-13 13:33 ` Samuel Pitoiset
[not found] ` <56965229.5070206-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-01-13 15:44 ` Samuel Pitoiset [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=569670ED.7080502@gmail.com \
--to=samuel.pitoiset-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=nouveau-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.