diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-03-03 12:56:33 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-02-17 15:14:55 +1000 |
commit | af7db03e1bd562105dc6460674a05f5463e333e0 (patch) | |
tree | 848d0be21a40e792f0047ee6a9d5cf6211506aa8 /drivers/gpu/drm/nouveau/nouveau_connector.c | |
parent | 0233a9f403973c107a2937ed42f3d588e5f1811b (diff) | |
download | linux-af7db03e1bd562105dc6460674a05f5463e333e0.tar.bz2 |
replace BUG_ON(1) with BUG()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_connector.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_connector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index 966d20ab4de4..dc7dd2ea3448 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c @@ -1041,7 +1041,7 @@ nouveau_connector_mode_valid(struct drm_connector *connector, clock = clock * (connector->display_info.bpc * 3) / 10; break; default: - BUG_ON(1); + BUG(); return MODE_BAD; } |