* [yakui-acrn:gvt_rebase_v54 6/65] drivers/gpu/drm/i915/gvt/display.c:526:6: sparse: sparse: symbol 'gvt_emulate_hdmi' was not declared. Should it be static?
@ 2019-10-29 5:55 kbuild test robot
2019-10-29 5:55 ` [RFC PATCH yakui-acrn] drm/i915/gvt: gvt_emulate_hdmi can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-10-29 5:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
tree: https://github.com/yakuizhao/acrn-kernel.git gvt_rebase_v54
head: af44009ce4407c8b3f36a4739dce1da495f90a64
commit: 6114c46d13109fb627f14cd4a87534d7dcf8eae4 [6/65] drm/i915/gvt: Change DomU to support 3 HDMI displays.
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-dirty
git checkout 6114c46d13109fb627f14cd4a87534d7dcf8eae4
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/gvt/display.c:526:6: sparse: sparse: symbol 'gvt_emulate_hdmi' was not declared. Should it be static?
drivers/gpu/drm/i915/gvt/display.c:528:5: sparse: sparse: symbol 'setup_virtual_monitors' was not declared. Should it be static?
drivers/gpu/drm/i915/gvt/display.c:562:6: sparse: sparse: symbol 'clean_virtual_monitors' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RFC PATCH yakui-acrn] drm/i915/gvt: gvt_emulate_hdmi can be static
2019-10-29 5:55 [yakui-acrn:gvt_rebase_v54 6/65] drivers/gpu/drm/i915/gvt/display.c:526:6: sparse: sparse: symbol 'gvt_emulate_hdmi' was not declared. Should it be static? kbuild test robot
@ 2019-10-29 5:55 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-10-29 5:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 637 bytes --]
Fixes: 6114c46d1310 ("drm/i915/gvt: Change DomU to support 3 HDMI displays.")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gvt/display.c b/drivers/gpu/drm/i915/gvt/display.c
index dcc131b09d565..2a9e5d8609c45 100644
--- a/drivers/gpu/drm/i915/gvt/display.c
+++ b/drivers/gpu/drm/i915/gvt/display.c
@@ -523,7 +523,7 @@ void intel_gvt_init_pipe_info(struct intel_gvt *gvt)
}
}
-bool gvt_emulate_hdmi = true;
+static bool gvt_emulate_hdmi = true;
int setup_virtual_monitors(struct intel_vgpu *vgpu)
{
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-29 5:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 5:55 [yakui-acrn:gvt_rebase_v54 6/65] drivers/gpu/drm/i915/gvt/display.c:526:6: sparse: sparse: symbol 'gvt_emulate_hdmi' was not declared. Should it be static? kbuild test robot
2019-10-29 5:55 ` [RFC PATCH yakui-acrn] drm/i915/gvt: gvt_emulate_hdmi can be static kbuild test robot
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.