diff options
author | Thierry Reding <treding@nvidia.com> | 2015-08-12 16:32:05 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-08-12 17:11:57 +0200 |
commit | eb6944f2fc01d5c83bce37fa0e68810565f78a75 (patch) | |
tree | 5af8630beafa0287c548acd70c19de46ccc2657d /mm/zsmalloc.c | |
parent | drm/atomic: fix null pointer access to mode_fixup callback (diff) | |
download | linux-eb6944f2fc01d5c83bce37fa0e68810565f78a75.tar.xz linux-eb6944f2fc01d5c83bce37fa0e68810565f78a75.zip |
vgaarb: Stop complaining about absent devices
Some setups do not register a default VGA device, in which case the VGA
arbiter will still complain about the (non-existent) PCI device being a
non-VGA device.
Fix this by making the error message conditional on a default VGA device
having been set up. Note that the easy route of erroring out early isn't
going to work because otherwise priv->target won't be properly updated.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions