Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4170723ioo; Wed, 25 May 2022 17:15:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWqj4CMfL1DXm+6nCYm4E3g2WiAVKzdHdgxRGy3ojGj10CbxW9oWSWyGtEUZtvJ6KEhTZK X-Received: by 2002:a17:906:6a26:b0:6ff:a5d:88b8 with SMTP id qw38-20020a1709066a2600b006ff0a5d88b8mr7777360ejc.6.1653524109796; Wed, 25 May 2022 17:15:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653524109; cv=none; d=google.com; s=arc-20160816; b=UYMRN5fm6gbmLWTUl8bdQyE9tVP740lLJW53dddPYIndFfMmQ4pUY2V0RArk8HW+aI QXlTnayEUSP3SM4TdvkeXj6ZSVXHXkJcKL0GUDSMszPjVEwRT0db5Ak44A4FPh1V760D DdPseyVoK+GgrygWwPj1pvQcF4XpWl+Ma45RKgsJ8C2bBg5KdpIs9Y0fO/9SWlps+hHl wMcQmq1bKeSm18Nkz+Xb+q07xNm7cdExqb4tBY6bK8KyWDd6R/y1nyvEzwCofVRfbYFb qahuf7sE6+aA9DgKw2gBZmwR8GpwTwL3B/fQZgPcEiJU3vVHGC1LTi9bajRIcSi1aV4h n74Q== 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=Uh7Dw9i2UMARbvoigUNcEPJbXtY9LiYB/pXQ3nBAJA8=; b=L9e13RJWAjVeqM58UyVDtYj7oXiCgjv0evJwQ4QxwzLbbF8D9vo2rhWKhkK02s6STb n6xg6QH6OrBcW5ZwsHW5BIDRHQhDkzhajIjgimZ6ckojB7jKdX9FDa0MJDmRLxBvtUXh llPF/VoDdM+r4AplSXJLYqOGQP+8WXFyHpEMr5exIekwilWBsQRjTzJQpCkO/jjwFibJ uZkett2d9D5koeYKHXZIy6ciXZz44eqGd1LXy/FmzTUDTM1FJf8EK7XM7Nw8p5K3Qq82 iJFwJmdILtqBcDhJw62jLOy7vsV7jqymSKVGZY3lUnHkvKLW/75ZpJt2BDzdnf/ysB+c tRGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=M4FnzGmM; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gn1-20020a1709070d0100b006f3976ed175si29869ejc.938.2022.05.25.17.14.45; Wed, 25 May 2022 17:15:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=M4FnzGmM; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233058AbiEYURG (ORCPT + 99 others); Wed, 25 May 2022 16:17:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345789AbiEYUQo (ORCPT ); Wed, 25 May 2022 16:16:44 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2423E11471; Wed, 25 May 2022 13:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653509802; x=1685045802; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8CVZfyXJ3BRW6i3sTZdPRtzPtYDa1DUQhBc/dqRqS4Q=; b=M4FnzGmMzYSebCSfQ83FNCGqudMEY+t24/Gde9CQTTUtWIfzs+5wDWXK e2Iwy4sBSmGLwHoJseojjszuOaJ6/vWjRk4lPkdCjlLc9v567RUrJK2v4 h5UjnJiBtJEVg1CgZPQh5j0SnfG7Rk8wyrv+K4tiQ2aU6K2xLmNdWsZ1Y fccVaJi5k5TOwnjdCZYUVquVNSv9HSuCN7e3rSXKrddwuQlBzyIQoV/Yk BiryJeo9fWNYMIj3/Ya6puQyGXrnRMwBYqx98VUPuz/BS2Ur08F9w+AlT Dv7mnFggNkQJe11g2EXIwEdOFVeGYz5/QFcefyi7LT8zkjE9p2ghVA1Ji g==; X-IronPort-AV: E=McAfee;i="6400,9594,10358"; a="334572332" X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="334572332" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 13:16:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="630512697" Received: from lkp-server01.sh.intel.com (HELO db63a1be7222) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 25 May 2022 13:16:15 -0700 Received: from kbuild by db63a1be7222 with local (Exim 4.95) (envelope-from ) id 1ntxQV-0003I8-2f; Wed, 25 May 2022 20:16:15 +0000 Date: Thu, 26 May 2022 04:15:43 +0800 From: kernel test robot To: Joseph Hwang , linux-bluetooth@vger.kernel.org, marcel@holtmann.org, luiz.dentz@gmail.com, pali@kernel.org Cc: kbuild-all@lists.01.org, josephsih@google.com, chromeos-bluetooth-upstreaming@chromium.org, Joseph Hwang , Archie Pusaka , Eric Dumazet , Jakub Kicinski , Johan Hedberg , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v5 2/5] Bluetooth: aosp: surface AOSP quality report through mgmt Message-ID: <202205260445.F8Xkowrk-lkp@intel.com> References: <20220525184510.v5.2.I2015b42d2d0a502334c9c3a2983438b89716d4f0@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220525184510.v5.2.I2015b42d2d0a502334c9c3a2983438b89716d4f0@changeid> X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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-bluetooth@vger.kernel.org Hi Joseph, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bluetooth-next/master] [also build test WARNING on net-next/master net/master v5.18 next-20220525] [cannot apply to bluetooth/master] [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/Joseph-Hwang/Bluetooth-mgmt-add-MGMT_OP_SET_QUALITY_REPORT-for-quality-report/20220525-184722 base: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master config: i386-randconfig-s002 (https://download.01.org/0day-ci/archive/20220526/202205260445.F8Xkowrk-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-14-g5a0004b5-dirty # https://github.com/intel-lab-lkp/linux/commit/0121eca73c0352b9ac4bc289609b218c0d0fb69e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Joseph-Hwang/Bluetooth-mgmt-add-MGMT_OP_SET_QUALITY_REPORT-for-quality-report/20220525-184722 git checkout 0121eca73c0352b9ac4bc289609b218c0d0fb69e # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash net/bluetooth/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) net/bluetooth/hci_event.c:338:15: sparse: sparse: restricted __le16 degrades to integer >> net/bluetooth/hci_event.c:4275:3: sparse: sparse: symbol 'evt_prefixes' was not declared. Should it be static? net/bluetooth/hci_event.c: note: in included file (through include/net/bluetooth/hci_core.h): include/net/bluetooth/hci.h:2494:47: sparse: sparse: array of flexible structures include/net/bluetooth/hci.h:2580:43: sparse: sparse: array of flexible structures vim +/evt_prefixes +4275 net/bluetooth/hci_event.c 4262 4263 /* Every distinct vendor specification must have a well-defined vendor 4264 * event prefix to determine if a vendor event meets the specification. 4265 * Some vendor prefixes are fixed values while some other vendor prefixes 4266 * are only available at run time. 4267 */ 4268 struct ext_vendor_event_prefix { 4269 /* Some vendor prefixes are variable length. For convenience, 4270 * the prefix in struct ext_vendor_prefix is in little endian. 4271 */ 4272 struct ext_vendor_prefix * 4273 (*get_ext_vendor_prefix)(struct hci_dev *hdev); 4274 void (*vendor_func)(struct hci_dev *hdev, struct sk_buff *skb); > 4275 } evt_prefixes[] = { 4276 { aosp_get_ext_prefix, aosp_vendor_evt }, 4277 { msft_get_ext_prefix, msft_vendor_evt }, 4278 4279 /* end with a null entry */ 4280 {}, 4281 }; 4282 -- 0-DAY CI Kernel Test Service https://01.org/lkp