From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Petri Latvala <petri.latvala@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 1/1] tests/kms_properties: Fix compiler warning
Date: Mon, 5 Nov 2018 07:10:20 -0800 [thread overview]
Message-ID: <20181105151020.GA2471@intel.com> (raw)
In-Reply-To: <20181105133733.6366-1-petri.latvala@intel.com>
On Mon, Nov 05, 2018 at 03:37:33PM +0200, Petri Latvala wrote:
> ../tests/kms_properties.c:113:11: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>
> Fixes: 7983e19ed62e ("tests/kms_properties: Add functional test for "max bpc" property")
> Signed-off-by: Petri Latvala <petri.latvala@intel.com>
> Cc: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> tests/kms_properties.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/kms_properties.c b/tests/kms_properties.c
> index 503a5c25..82d28e9b 100644
> --- a/tests/kms_properties.c
> +++ b/tests/kms_properties.c
> @@ -30,7 +30,7 @@
> #include <time.h>
>
> struct additional_test {
> - char *name;
> + const char *name;
> uint32_t obj_type;
> void (*prop_test)(int fd, uint32_t id, uint32_t type, drmModePropertyPtr prop,
> uint32_t prop_id, uint64_t prop_value, bool atomic);
> --
> 2.18.0
>
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2018-11-05 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-05 13:37 [igt-dev] [PATCH i-g-t 1/1] tests/kms_properties: Fix compiler warning Petri Latvala
2018-11-05 15:10 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/1] " Patchwork
2018-11-05 15:10 ` Rodrigo Vivi [this message]
2018-11-05 16:40 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
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=20181105151020.GA2471@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=petri.latvala@intel.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