Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp929805pxb; Fri, 22 Apr 2022 14:36:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMWOLldgzyJ4WDvZFZH08dfClCU7PVxG1EVk7EtJKJWwJwAH1HPOBwN4y8OjYKh0b6bBHD X-Received: by 2002:a17:90a:1509:b0:1d8:c22b:4d61 with SMTP id l9-20020a17090a150900b001d8c22b4d61mr3385015pja.78.1650663390821; Fri, 22 Apr 2022 14:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650663390; cv=none; d=google.com; s=arc-20160816; b=MrQJB2NU1fBj5QLBugbLfQYPfeXd1CgZeMx0+ARRS8WLsVvWtwUqrk8k1rNYkoaePM 01ONiKDp56LaCHemp6lMHAD5AYDRnhjdHfPyRSrbr+374cQVQi7U2UkdehVwKouPhA3r i8WzSKYvnqfsxnMKy3mvBy68wlNBCpAR+xp4qt9uBhSRn8eH79XgINGvorNV9M7HbNPH RTqpITK0zTjoeD8JmENs56ldbaDwK9Hc2bPk+7aW8Yf3k/DwPbASU/ML2r8LqgDiruDg PE7XFX2dUfMSyjzJm+4KkUhv2L804G16yDjukxvLRmlS8HXwutp+HtIaLK1AgqCwEf7d FaCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AFpXoiyDeL0jymMHW09WyIs8q7LOc26O8qTiFaAYjes=; b=Yw+yT1OJTXCrrgv2VEb/EC768XUekdfFh/GeHjcxwWPaUD7+v7uaCv0aTig/M0+ceb BF8VyG6vHITMP8nR7MxSJJCtpVuxTnMLfaeIRTkq6+ELZo77Bwx08IlEX7u0oLymgf+4 1Tgc25vKSi3WCvdRzUsG4qx1XRnF3tWSzvHFuF7YB4JizbE/TO0yEbEc0k2uXC8t/zcn XXDgHCBXwBTPScfjLOqk4uuU85dH/jcz61T4I3jmtZLRxgo61MOvjzo6yN6+zEvKaVcj G79afjyNSPCnVthAwBw0oGl7Yb/KxeAreXQE6Vb/BaFrdiM+rSjY5bDPjMRtgxQAh62l K4+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jcmW1boO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h1-20020a170902eec100b00153b2d16561si8659208plb.361.2022.04.22.14.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:36:30 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jcmW1boO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F2AF63010DE; Fri, 22 Apr 2022 12:44:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386518AbiDUIN2 (ORCPT + 99 others); Thu, 21 Apr 2022 04:13:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386513AbiDUIMu (ORCPT ); Thu, 21 Apr 2022 04:12:50 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B35C2BE9 for ; Thu, 21 Apr 2022 01:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650528600; x=1682064600; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=cLE6xmcyejVNPvTSv0CwIrdK3A7MUJeex/f7C9SJaSE=; b=jcmW1boO6Ivks8xfR+u6BTjuEnPr6f4Qo4UOXd6Rux/KVZigyh0f6ub0 +1naLcGNVtxpJWiwGd6KEbiSKOuz+3zaLMaH5VLKu3c7+WkADhvKiesgQ c4vVq/BigreXNjdqjVCmibLrzM7p38rv8RsO9M15hdlqljv6cS5RsKQ9m PfHdDyI8/PEg6TQavxv2s9JPa328tYVuCWwdVh3PGpoqwW0vMi1eOf3+0 fXtYNSEihQ7lE9NJxlYmprH/4RDl1ndZPaq2J3Ol5oLomLE4WeIhN5Ppm 2hOSQxxV40pMIDdTadhm8NgQ52tHjVjvm/YNPD5NfRLLfNifLtMF0fbml g==; X-IronPort-AV: E=McAfee;i="6400,9594,10323"; a="244857080" X-IronPort-AV: E=Sophos;i="5.90,278,1643702400"; d="scan'208";a="244857080" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 01:10:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,278,1643702400"; d="scan'208";a="614783287" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 21 Apr 2022 01:09:58 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1nhRt0-00086k-7D; Thu, 21 Apr 2022 08:09:58 +0000 Date: Thu, 21 Apr 2022 16:09:48 +0800 From: kernel test robot To: Haowen Bai , Greg Kroah-Hartman Cc: kbuild-all@lists.01.org, Haowen Bai , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH V4] staging: rtl8192e: Fix signedness bug in rtllib_rx_assoc_resp() Message-ID: <202204211558.TapLZO4j-lkp@intel.com> References: <1650504854-17576-1-git-send-email-baihaowen@meizu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1650504854-17576-1-git-send-email-baihaowen@meizu.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Haowen, Thank you for the patch! Yet something to improve: [auto build test ERROR on v5.18-rc3] [also build test ERROR on next-20220421] [cannot apply to staging/staging-testing] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Haowen-Bai/staging-rtl8192e-Fix-signedness-bug-in-rtllib_rx_assoc_resp/20220421-093531 base: b2d229d4ddb17db541098b83524d901257e93845 config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220421/202204211558.TapLZO4j-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/e1395cdafd4dea7a368f2d9599832636035a03d2 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Haowen-Bai/staging-rtl8192e-Fix-signedness-bug-in-rtllib_rx_assoc_resp/20220421-093531 git checkout e1395cdafd4dea7a368f2d9599832636035a03d2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/staging/rtl8192e/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/staging/rtl8192e/rtllib_softmac.c: In function 'auth_parse': >> drivers/staging/rtl8192e/rtllib_softmac.c:1792:29: error: 'ieee' undeclared (first use in this function) 1792 | netdev_info(ieee->dev, "auth_parse() failed"); | ^~~~ drivers/staging/rtl8192e/rtllib_softmac.c:1792:29: note: each undeclared identifier is reported only once for each function it appears in vim +/ieee +1792 drivers/staging/rtl8192e/rtllib_softmac.c 1766 1767 static inline int auth_parse(struct net_device *dev, struct sk_buff *skb, 1768 u8 **challenge, int *chlen) 1769 { 1770 struct rtllib_authentication *a; 1771 u8 *t; 1772 1773 if (skb->len < (sizeof(struct rtllib_authentication) - 1774 sizeof(struct rtllib_info_element))) { 1775 netdev_dbg(dev, "invalid len in auth resp: %d\n", skb->len); 1776 return -EINVAL; 1777 } 1778 *challenge = NULL; 1779 a = (struct rtllib_authentication *) skb->data; 1780 if (skb->len > (sizeof(struct rtllib_authentication) + 3)) { 1781 t = skb->data + sizeof(struct rtllib_authentication); 1782 1783 if (*(t++) == MFIE_TYPE_CHALLENGE) { 1784 *chlen = *(t++); 1785 *challenge = kmemdup(t, *chlen, GFP_ATOMIC); 1786 if (!*challenge) 1787 return -ENOMEM; 1788 } 1789 } 1790 1791 if (a->status) { > 1792 netdev_info(ieee->dev, "auth_parse() failed"); 1793 return -EINVAL; 1794 } 1795 1796 return 0; 1797 } 1798 -- 0-DAY CI Kernel Test Service https://01.org/lkp