Re: [PATCH] cxd2841er: Do some changes at the dvbv5 stats logic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v4.7-rc5 next-20160629]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Mauro-Carvalho-Chehab/cxd2841er-Do-some-changes-at-the-dvbv5-stats-logic/20160630-120109
base:   git://linuxtv.org/media_tree.git master
config: x86_64-acpi-redef (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/media/dvb-frontends/cxd2841er.c: In function 'cxd2841er_init_stats':
>> drivers/media/dvb-frontends/cxd2841er.c:3397:1: warning: no return statement in function returning non-void [-Wreturn-type]
    }
    ^

vim +3397 drivers/media/dvb-frontends/cxd2841er.c

  3381		dev_dbg(&priv->i2c->dev, "%s()\n", __func__);
  3382		return DVBFE_ALGO_HW;
  3383	}
  3384	
  3385	static int cxd2841er_init_stats(struct dvb_frontend *fe)
  3386	{
  3387		struct dtv_frontend_properties *p = &fe->dtv_property_cache;
  3388	
  3389		p->strength.len = 1;
  3390		p->strength.stat[0].scale = FE_SCALE_RELATIVE;
  3391		p->cnr.len = 1;
  3392		p->cnr.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
  3393		p->block_error.len = 1;
  3394		p->block_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
  3395		p->post_bit_error.len = 1;
  3396		p->post_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE;
> 3397	}
  3398	
  3399	
  3400	static int cxd2841er_init_s(struct dvb_frontend *fe)
  3401	{
  3402		struct cxd2841er_priv *priv = fe->demodulator_priv;
  3403	
  3404		/* sanity. force demod to SHUTDOWN state */
  3405		if (priv->state == STATE_SLEEP_S) {

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux