Message ID | 1304869873-9974-5-git-send-email-steve@stevekerrison.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
diff --git a/drivers/media/common/tuners/mxl5005s.c b/drivers/media/common/tuners/mxl5005s.c index 0d6e094..667e216 100644 --- a/drivers/media/common/tuners/mxl5005s.c +++ b/drivers/media/common/tuners/mxl5005s.c @@ -4020,6 +4020,9 @@ static int mxl5005s_set_params(struct dvb_frontend *fe, case BANDWIDTH_7_MHZ: req_bw = MXL5005S_BANDWIDTH_7MHZ; break; + default: + dprintk(1,"%s: Unsupported bandwidth mode %u, reverting to default\n", + __func__,params->u.ofdm.bandwidth); case BANDWIDTH_AUTO: case BANDWIDTH_8_MHZ: req_bw = MXL5005S_BANDWIDTH_8MHZ;
Additional bandwidth modes have been added in frontend.h mxl5005s.c had no default case so the compiler was warning about a non-exhausive switch statement. Signed-off-by: Steve Kerrison <steve@stevekerrison.com> --- drivers/media/common/tuners/mxl5005s.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)