@@ -279,5 +279,5 @@ static int dvb_usb_start_feed(struct dvb_demux_feed *dvbdmxfeed)
if (d->props->get_stream_config) {
memcpy(&stream_props, &adap->props->stream,
- sizeof(struct usb_data_stream_properties));
+ sizeof(stream_props));
ret = d->props->get_stream_config(adap->fe[adap->active_fe],
&adap->ts_type, &stream_props);
@@ -919,5 +919,5 @@ int dvb_usbv2_probe(struct usb_interface *intf,
goto err;
}
- d = kzalloc(sizeof(struct dvb_usb_device), GFP_KERNEL);
+ d = kzalloc(sizeof(*d), GFP_KERNEL);
if (!d) {