use dd_compat file and adjust fallthroughs

This commit is contained in:
rjkm
2022-02-12 15:07:59 +01:00
parent 4ce76407e2
commit 1b49bfb8f1
8 changed files with 37 additions and 30 deletions

View File

@@ -11,3 +11,4 @@ dvb-core-objs := dvbdev.o dmxdev.o dvb_demux.o dvb_filter.o \
obj-$(CONFIG_DVB_CORE) += dvb-core.o
ccflags-y += -Idrivers/media/dvb-core/
ccflags-y += --include=dd_compat.h

View File

@@ -553,7 +553,7 @@ static int dvb_net_ule_new_payload(struct dvb_net_ule_handle *h)
h->priv->ule_sndu_type_1 = 1;
h->ts_remain -= 1;
h->from_where += 1;
/* fallthrough */
fallthrough;
case 0:
h->new_ts = 1;
h->ts += TS_SZ;