Commit af7db03e authored by Ben Skeggs's avatar Ben Skeggs

replace BUG_ON(1) with BUG()

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 0233a9f4
......@@ -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;
}
......
......@@ -103,7 +103,7 @@ usif_notify(const void *header, u32 length, const void *data, u32 size)
}
break;
default:
BUG_ON(1);
BUG();
break;
}
......
......@@ -3623,7 +3623,7 @@ nv50_sor_enable(struct drm_encoder *encoder)
nv50_audio_enable(encoder, mode);
break;
default:
BUG_ON(1);
BUG();
break;
}
......@@ -3796,7 +3796,7 @@ nv50_pior_enable(struct drm_encoder *encoder)
proto = 0x0;
break;
default:
BUG_ON(1);
BUG();
break;
}
......
......@@ -112,7 +112,7 @@ read_pll_src(struct nv50_clk *clk, u32 base)
M = (coef & 0x000000ff) >> 0;
break;
default:
BUG_ON(1);
BUG();
}
if (M)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment