if ((ret = dvb_register_adapter(&fc->dvb_adapter,"FlexCop Digital TV device",THIS_MODULE)) < 0) { 
if ((ret = dvb_register_adapter(&fc->dvb_adapter,"FlexCop Digital TV device",fc->owner)) < 0) { 
static int flexcop_dvb_init(struct flexcop_device *fc){	int ret;	if ((ret = dvb_register_adapter(&fc->dvb_adapter,"FlexCop Digital TV device",THIS_MODULE)) < 0) {		err("error registering DVB adapter");		return ret;	}	fc->dvb_adapter.priv = fc;	fc->demux.dmx.capabilities = (DMX_TS_FILTERING | DMX_SECTION_FILTERING | DMX_MEMORY_BASED_FILTERING);	fc->demux.priv = fc;	fc->demux.filternum = fc->demux.feednum = FC_MAX_FEED;	fc->demux.start_feed = flexcop_dvb_start_feed;	fc->demux.stop_feed = flexcop_dvb_stop_feed;	fc->demux.write_to_decoder = NULL;	if ((ret = dvb_dmx_init(&fc->demux)) < 0) {		err("dvb_dmx failed: error %d",ret);		goto err_dmx;	}	fc->hw_frontend.source = DMX_FRONTEND_0;	fc->dmxdev.filternum = fc->demux.feednum;	fc->dmxdev.demux = &fc->demux.dmx;	fc->dmxdev.capabilities = 0;	if ((ret = dvb_dmxdev_init(&fc->dmxdev, &fc->dvb_adapter)) < 0) {		err("dvb_dmxdev_init failed: error %d",ret);		goto err_dmx_dev;	}	if ((ret = fc->demux.dmx.add_frontend(&fc->demux.dmx, &fc->hw_frontend)) < 0) {		err("adding hw_frontend to dmx failed: error %d",ret);		goto err_dmx_add_hw_frontend;	}	fc->mem_frontend.source = DMX_MEMORY_FE;	if ((ret = fc->demux.dmx.add_frontend(&fc->demux.dmx, &fc->mem_frontend)) < 0) {		err("adding mem_frontend to dmx failed: error %d",ret);		goto err_dmx_add_mem_frontend;	}	if ((ret = fc->demux.dmx.connect_frontend(&fc->demux.dmx, &fc->hw_frontend)) < 0) {		err("connect frontend failed: error %d",ret);		goto err_connect_frontend;	}	dvb_net_init(&fc->dvb_adapter, &fc->dvbnet, &fc->demux.dmx);	fc->init_state |= FC_STATE_DVB_INIT;	goto success;err_connect_frontend:	fc->demux.dmx.remove_frontend(&fc->demux.dmx,&fc->mem_frontend);err_dmx_add_mem_frontend:	fc->demux.dmx.remove_frontend(&fc->demux.dmx,&fc->hw_frontend);err_dmx_add_hw_frontend:	dvb_dmxdev_release(&fc->dmxdev);err_dmx_dev:	dvb_dmx_release(&fc->demux);err_dmx:	dvb_unregister_adapter(&fc->dvb_adapter);	return ret;success:	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/59a7ad6c1ed3a058d375d2e679d73805e4f851ac/flexcop.c/buggy/drivers/media/dvb/b2c2/flexcop.c