Hi Salah, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.5-rc6 next-20160303] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Salah-Triki/staging-rtl8192u-check-return-value-of-read_nic_word_E/20160304-093832 config: sparc64-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sparc64 All warnings (new ones prefixed by >>): drivers/staging/rtl8192u/r8192U_core.c: In function 'rtl8192_read_eeprom_info': drivers/staging/rtl8192u/r8192U_core.c:2496:8: warning: unused variable 'tmp' [-Wunused-variable] u16 tmp = 0; ^ >> drivers/staging/rtl8192u/r8192U_core.c:2707:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ vim +2707 drivers/staging/rtl8192u/r8192U_core.c 8fc8598e Jerry Chuang 2009-11-03 2691 break; 8fc8598e Jerry Chuang 2009-11-03 2692 8fc8598e Jerry Chuang 2009-11-03 2693 } 8fc8598e Jerry Chuang 2009-11-03 2694 8fc8598e Jerry Chuang 2009-11-03 2695 cf47ca02 Raphaël Beamonte 2015-08-18 2696 if (priv->rf_type == RF_1T2R) 8fc8598e Jerry Chuang 2009-11-03 2697 RT_TRACE(COMP_EPROM, "\n1T2R config\n"); cf47ca02 Raphaël Beamonte 2015-08-18 2698 else 8fc8598e Jerry Chuang 2009-11-03 2699 RT_TRACE(COMP_EPROM, "\n2T4R config\n"); 8fc8598e Jerry Chuang 2009-11-03 2700 14285c1f Raphaël Beamonte 2015-08-18 2701 /* We can only know RF type in the function. So we have to init 14285c1f Raphaël Beamonte 2015-08-18 2702 * DIG RATR table again. 14285c1f Raphaël Beamonte 2015-08-18 2703 */ 8fc8598e Jerry Chuang 2009-11-03 2704 init_rate_adaptive(dev); 8fc8598e Jerry Chuang 2009-11-03 2705 5b3b215b Xenia Ragiadakou 2013-05-23 2706 RT_TRACE(COMP_EPROM, "<===========%s()\n", __func__); 8fc8598e Jerry Chuang 2009-11-03 @2707 } 8fc8598e Jerry Chuang 2009-11-03 2708 f4c6074a Ana Rey 2014-03-13 2709 static short rtl8192_get_channel_map(struct net_device *dev) 8fc8598e Jerry Chuang 2009-11-03 2710 { 8fc8598e Jerry Chuang 2009-11-03 2711 struct r8192_priv *priv = ieee80211_priv(dev); 7b25c24e Raphaël Beamonte 2015-08-18 2712 8fc8598e Jerry Chuang 2009-11-03 2713 if (priv->ChannelPlan > COUNTRY_CODE_GLOBAL_DOMAIN) { 069b3162 Raphaël Beamonte 2015-09-20 2714 netdev_err(dev, 069b3162 Raphaël Beamonte 2015-09-20 2715 "rtl8180_init: Error channel plan! Set to default.\n"); :::::: The code at line 2707 was first introduced by commit :::::: 8fc8598e61f6f384f3eaf1d9b09500c12af47b37 Staging: Added Realtek rtl8192u driver to staging :::::: TO: Jerry Chuang <jerry-chuang@xxxxxxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel