From: Eric Anholt <eric@anholt.net>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH i-g-t 2/3] intel_watermark: Fix a warning about "const char" return being silly.
Date: Sat, 2 Sep 2017 21:38:52 -0700 [thread overview]
Message-ID: <20170903043853.17899-2-eric@anholt.net> (raw)
In-Reply-To: <20170903043853.17899-1-eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
---
tools/intel_watermark.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c
index d98ef19b0abd..d8c784802c5b 100644
--- a/tools/intel_watermark.c
+++ b/tools/intel_watermark.c
@@ -110,7 +110,7 @@ struct ilk_wm {
((((lo) >> (shift_lo)) & MASK(size_lo)) | \
((((hi) >> (shift_hi)) & MASK(size_hi)) << (size_lo)))
-static const char pipe_name(int pipe)
+static char pipe_name(int pipe)
{
return 'A' + pipe;
}
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-09-03 4:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-03 4:38 [PATCH i-g-t 1/3] Use PATH_MAX to fix some sprintf-into-short-buffers warnings Eric Anholt
2017-09-03 4:38 ` Eric Anholt [this message]
2017-09-03 4:38 ` [PATCH i-g-t 3/3] intel_display_poller: Fix truncation of a test name Eric Anholt
2017-09-03 5:05 ` ✓ Fi.CI.BAT: success for series starting with [1/3] Use PATH_MAX to fix some sprintf-into-short-buffers warnings Patchwork
2017-09-03 6:02 ` ✓ Fi.CI.IGT: " Patchwork
2017-09-04 8:49 ` [PATCH i-g-t 1/3] " Daniel Vetter
2017-09-05 11:44 ` Daniel Vetter
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=20170903043853.17899-2-eric@anholt.net \
--to=eric@anholt.net \
--cc=intel-gfx@lists.freedesktop.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox