Hi Salah, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.5-rc7 next-20160311] [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-Checking-return-value-propagating-errors/20160314-111200 config: xtensa-allmodconfig (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=xtensa All warnings (new ones prefixed by >>): drivers/staging/rtl8192u/r8192U_core.c: In function 'rtl8192_init': >> drivers/staging/rtl8192u/r8192U_core.c:2746:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int err; ^ vim +2746 drivers/staging/rtl8192u/r8192U_core.c 2730 netdev_err(dev, 2731 "rtl8180_init: Error channel plan! Set to default.\n"); 2732 priv->ChannelPlan = 0; 2733 } 2734 RT_TRACE(COMP_INIT, "Channel plan is %d\n", priv->ChannelPlan); 2735 2736 rtl819x_set_channel_map(priv->ChannelPlan, priv); 2737 return 0; 2738 } 2739 2740 static short rtl8192_init(struct net_device *dev) 2741 { 2742 2743 struct r8192_priv *priv = ieee80211_priv(dev); 2744 memset(&(priv->stats), 0, sizeof(struct Stats)); 2745 memset(priv->txqueue_to_outpipemap, 0, 9); > 2746 int err; 2747 #ifdef PIPE12 2748 { 2749 int i = 0; 2750 u8 queuetopipe[] = {3, 2, 1, 0, 4, 8, 7, 6, 5}; 2751 2752 memcpy(priv->txqueue_to_outpipemap, queuetopipe, 9); 2753 } 2754 #else --- 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