* [PATCH 1/2] drm/i915: Use __printf markup to silence compiler
@ 2017-01-14 10:51 Chris Wilson
2017-01-14 10:51 ` [PATCH 2/2] drm/i915/dp: Silence compiler for missing prototype Chris Wilson
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Chris Wilson @ 2017-01-14 10:51 UTC (permalink / raw)
To: intel-gfx
drivers/gpu/drm/i915/i915_gpu_error.c: In function ‘i915_error_vprintf’:
drivers/gpu/drm/i915/i915_gpu_error.c:137:3: warning:
function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
len = vsnprintf(NULL, 0, f, tmp);
^~~
drivers/gpu/drm/i915/i915_gpu_error.c:144:2: warning:
function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
len = vsnprintf(e->buf + e->bytes, e->size - e->bytes, f, args);
^~~
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
drivers/gpu/drm/i915/i915_gpu_error.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c
index 756db0ce6ecb..05e3a21e2aba 100644
--- a/drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/drivers/gpu/drm/i915/i915_gpu_error.c
@@ -121,6 +121,7 @@ static void __i915_error_advance(struct drm_i915_error_state_buf *e,
e->pos += len;
}
+__printf(2, 0)
static void i915_error_vprintf(struct drm_i915_error_state_buf *e,
const char *f, va_list args)
{
--
2.11.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] drm/i915/dp: Silence compiler for missing prototype
2017-01-14 10:51 [PATCH 1/2] drm/i915: Use __printf markup to silence compiler Chris Wilson
@ 2017-01-14 10:51 ` Chris Wilson
2017-01-16 11:52 ` Joonas Lahtinen
2017-01-14 11:29 ` ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Use __printf markup to silence compiler Patchwork
2017-01-16 11:51 ` [PATCH 1/2] " Joonas Lahtinen
2 siblings, 1 reply; 5+ messages in thread
From: Chris Wilson @ 2017-01-14 10:51 UTC (permalink / raw)
To: intel-gfx
drivers/gpu/drm/i915/intel_dp.c:3063:6: warning: no previous prototype for ‘intel_dp_get_alpm_status’ [-Wmissing-prototypes]
bool intel_dp_get_alpm_status(struct intel_dp *intel_dp)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
drivers/gpu/drm/i915/intel_dp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 30dfa39be008..a886d82894ef 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -3060,7 +3060,7 @@ static bool intel_dp_get_colorimetry_status(struct intel_dp *intel_dp)
return dprx & DP_VSC_SDP_EXT_FOR_COLORIMETRY_SUPPORTED;
}
-bool intel_dp_get_alpm_status(struct intel_dp *intel_dp)
+static bool intel_dp_get_alpm_status(struct intel_dp *intel_dp)
{
uint8_t alpm_caps = 0;
--
2.11.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 5+ messages in thread
* ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Use __printf markup to silence compiler
2017-01-14 10:51 [PATCH 1/2] drm/i915: Use __printf markup to silence compiler Chris Wilson
2017-01-14 10:51 ` [PATCH 2/2] drm/i915/dp: Silence compiler for missing prototype Chris Wilson
@ 2017-01-14 11:29 ` Patchwork
2017-01-16 11:51 ` [PATCH 1/2] " Joonas Lahtinen
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2017-01-14 11:29 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: series starting with [1/2] drm/i915: Use __printf markup to silence compiler
URL : https://patchwork.freedesktop.org/series/18012/
State : success
== Summary ==
Series 18012v1 Series without cover letter
https://patchwork.freedesktop.org/api/1.0/series/18012/revisions/1/mbox/
fi-bdw-5557u total:246 pass:232 dwarn:0 dfail:0 fail:0 skip:14
fi-bsw-n3050 total:246 pass:207 dwarn:0 dfail:0 fail:0 skip:39
fi-bxt-j4205 total:246 pass:224 dwarn:0 dfail:0 fail:0 skip:22
fi-bxt-t5700 total:82 pass:69 dwarn:0 dfail:0 fail:0 skip:12
fi-byt-j1900 total:246 pass:219 dwarn:0 dfail:0 fail:0 skip:27
fi-byt-n2820 total:246 pass:215 dwarn:0 dfail:0 fail:0 skip:31
fi-hsw-4770 total:246 pass:227 dwarn:0 dfail:0 fail:0 skip:19
fi-hsw-4770r total:246 pass:227 dwarn:0 dfail:0 fail:0 skip:19
fi-ivb-3520m total:246 pass:225 dwarn:0 dfail:0 fail:0 skip:21
fi-ivb-3770 total:246 pass:225 dwarn:0 dfail:0 fail:0 skip:21
fi-kbl-7500u total:246 pass:225 dwarn:0 dfail:0 fail:0 skip:21
fi-skl-6260u total:246 pass:233 dwarn:0 dfail:0 fail:0 skip:13
fi-skl-6700hq total:246 pass:226 dwarn:0 dfail:0 fail:0 skip:20
fi-skl-6700k total:246 pass:222 dwarn:3 dfail:0 fail:0 skip:21
fi-skl-6770hq total:246 pass:233 dwarn:0 dfail:0 fail:0 skip:13
fi-snb-2520m total:246 pass:215 dwarn:0 dfail:0 fail:0 skip:31
fi-snb-2600 total:246 pass:214 dwarn:0 dfail:0 fail:0 skip:32
a957dfe613ab43c6af84833f2b88ea941320250f drm-tip: 2017y-01m-13d-18h-49m-04s UTC integration manifest
65ffc70 drm/i915/dp: Silence compiler for missing prototype
1f09ea5 drm/i915: Use __printf markup to silence compiler
== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3519/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] drm/i915: Use __printf markup to silence compiler
2017-01-14 10:51 [PATCH 1/2] drm/i915: Use __printf markup to silence compiler Chris Wilson
2017-01-14 10:51 ` [PATCH 2/2] drm/i915/dp: Silence compiler for missing prototype Chris Wilson
2017-01-14 11:29 ` ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Use __printf markup to silence compiler Patchwork
@ 2017-01-16 11:51 ` Joonas Lahtinen
2 siblings, 0 replies; 5+ messages in thread
From: Joonas Lahtinen @ 2017-01-16 11:51 UTC (permalink / raw)
To: Chris Wilson, intel-gfx
On la, 2017-01-14 at 10:51 +0000, Chris Wilson wrote:
> drivers/gpu/drm/i915/i915_gpu_error.c: In function ‘i915_error_vprintf’:
> drivers/gpu/drm/i915/i915_gpu_error.c:137:3: warning:
> function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
> len = vsnprintf(NULL, 0, f, tmp);
> ^~~
> drivers/gpu/drm/i915/i915_gpu_error.c:144:2: warning:
> function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
> len = vsnprintf(e->buf + e->bytes, e->size - e->bytes, f, args);
> ^~~
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] drm/i915/dp: Silence compiler for missing prototype
2017-01-14 10:51 ` [PATCH 2/2] drm/i915/dp: Silence compiler for missing prototype Chris Wilson
@ 2017-01-16 11:52 ` Joonas Lahtinen
0 siblings, 0 replies; 5+ messages in thread
From: Joonas Lahtinen @ 2017-01-16 11:52 UTC (permalink / raw)
To: Chris Wilson, intel-gfx
On la, 2017-01-14 at 10:51 +0000, Chris Wilson wrote:
> drivers/gpu/drm/i915/intel_dp.c:3063:6: warning: no previous prototype for ‘intel_dp_get_alpm_status’ [-Wmissing-prototypes]
> bool intel_dp_get_alpm_status(struct intel_dp *intel_dp)
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-01-16 11:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-14 10:51 [PATCH 1/2] drm/i915: Use __printf markup to silence compiler Chris Wilson
2017-01-14 10:51 ` [PATCH 2/2] drm/i915/dp: Silence compiler for missing prototype Chris Wilson
2017-01-16 11:52 ` Joonas Lahtinen
2017-01-14 11:29 ` ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915: Use __printf markup to silence compiler Patchwork
2017-01-16 11:51 ` [PATCH 1/2] " Joonas Lahtinen
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.