Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp1489291rwb; Sat, 3 Sep 2022 17:37:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR6suLJyX/JHrefUibQ+8N7nvioSCRaD4sypKrBEz7aL84Ix72MVGFcWjl8zJijH12hO9pcZ X-Received: by 2002:a17:907:7628:b0:73d:e0eb:2e51 with SMTP id jy8-20020a170907762800b0073de0eb2e51mr28949154ejc.237.1662251822112; Sat, 03 Sep 2022 17:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662251822; cv=none; d=google.com; s=arc-20160816; b=Lqk5f+bW/ZCO9aRQu1Se40IGIKMIw53ST5PMSkB7Zmjsb3jqKoWgNFq6BjSjIG0AL1 DidaWP/9/oOtEWRQ0eewY6CxQhFaAhtPlcXBCXAeniclOoAgNqqgj4FkOcPfjSCX1iYb vMTcGG94VLCo8qzSXXzV8bQd/bZbTIfSGDupD4U72Qx2+p3NBbNuEAzy+9W08T0b4XgR CurR34LpNS+H1XKDzRJPNEdJ/FQPirGZFIuHmRQ1zFqJwLJZy89MbUt/xuByGnv6+6I4 jXLFFlzP5+7taD6ebfRprClqC0BeWYoz0PD2zFZAHiDt7g6zU+9nQh22Row6wtyyN97B TaJw== 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=uP7KxRTFXon/JinJSz/Z0l7ReJQfBxS6q4/P9V8kKEQ=; b=JxZ++X3p/d+FAH7XRMtShhuLnaXYaSqiYWilQ7mhGWXX8joNA/X3m7lA/jCMWUOrfy X9UN+YxMbQU/StWfhBWYsUAslLoUcHp7KPMFECmHFj8ImClGEUCdaM0YqDbrA01JMLy0 JgXJ0C7VuC/fu7C4MSQhUEs9nCv1Ka4q5vfO/NAPhBL+Exwhrq/fGmXrQO6fJdmBkD5T lLSi8hI+QWvffjHX33r+heSDnDMRi3Kon0+E+jaypaGvDNNxchW5QrZvs5VC2L6EU8ej rInUHKr+4/ZpvivbGeIPBUEIof/2WkEAlmo57uev6iL7gZbFFsSvMT9/BJxswCKgWq/F s3xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cAtyjK00; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020aa7d88b000000b00448852341d6si4257642edq.100.2022.09.03.17.36.14; Sat, 03 Sep 2022 17:37:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=cAtyjK00; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S230333AbiIDAEd (ORCPT + 99 others); Sat, 3 Sep 2022 20:04:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbiIDAE0 (ORCPT ); Sat, 3 Sep 2022 20:04:26 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D66422A; Sat, 3 Sep 2022 17:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662249861; x=1693785861; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=RVEhZ6y4T1JLmd8UZJsB2e4A0dQiVCt7KFVfFW0jwQA=; b=cAtyjK00jWHVtA2WvzESCxsPrAKFS0tycokzzT+8Tt+S9CfaBxUeKnJc R3jSL9ttdEEmeQjCuRodx4Vb8PS5Ir3/1iWekFv3JmzDCYIoUkaxT2rKZ AjbQ6jPZtDwbhFAHygsg2uisHpGslDA1AScnhwRrZMaoLwAYunSrQLQRy 2+fAJk9tCYavi+M1t8kU1c3HTF6pMIfoRJsFheoR6e+X9JXBIVNiDY6Fu 3HGn7Zx+MD1817DUVUGoz0uAcveV4ZsdGfgmlUSKILxLP3X5zM1Pgb+Wc 5D/a72JXPKwNeL9/2MVDREaIkfc2oxXGu2AMHeCUHmcQ0i5gx2lOLJK8R A==; X-IronPort-AV: E=McAfee;i="6500,9779,10459"; a="297494730" X-IronPort-AV: E=Sophos;i="5.93,287,1654585200"; d="scan'208";a="297494730" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2022 17:04:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,287,1654585200"; d="scan'208";a="564348244" Received: from lkp-server02.sh.intel.com (HELO 95dfd251caa2) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 03 Sep 2022 17:04:17 -0700 Received: from kbuild by 95dfd251caa2 with local (Exim 4.96) (envelope-from ) id 1oUd7Y-0002Ll-1R; Sun, 04 Sep 2022 00:04:16 +0000 Date: Sun, 4 Sep 2022 08:03:51 +0800 From: kernel test robot To: Szuying Chen , gregkh@linuxfoundation.org, mario.limonciello@amd.com, mika.westerberg@linux.intel.com, andreas.noever@gmail.com, michael.jamet@intel.com, YehezkelShB@gmail.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Yd_Tseng@asmedia.com.tw, Chloe_Chen@asmedia.com.tw, Richard_Hsu@asmedia.com.tw Subject: Re: [PATCH v8 1/3] thunderbolt: Add vendor's specific operations of NVM Message-ID: <202209040723.T3GBSVUx-lkp@intel.com> References: <20220902094010.2170-2-chensiying21@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220902094010.2170-2-chensiying21@gmail.com> X-Spam-Status: No, score=-4.4 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-kernel@vger.kernel.org Hi Szuying, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v6.0-rc3 next-20220901] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Szuying-Chen/thunderbolt-add-vendor-s-NVM-formats/20220902-174246 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 42e66b1cc3a070671001f8a1e933a80818a192bf config: loongarch-randconfig-s051-20220901 (https://download.01.org/0day-ci/archive/20220904/202209040723.T3GBSVUx-lkp@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/02a1339d2c5a67367909bfcb11e307d3cfa44f74 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Szuying-Chen/thunderbolt-add-vendor-s-NVM-formats/20220902-174246 git checkout 02a1339d2c5a67367909bfcb11e307d3cfa44f74 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/thunderbolt/nvm.c: note: in included file: >> drivers/thunderbolt/tb.h:743:20: sparse: sparse: marked inline, but without a definition >> drivers/thunderbolt/tb.h:743:20: sparse: sparse: marked inline, but without a definition vim +743 drivers/thunderbolt/tb.h 742 > 743 inline int nvm_read(struct tb_switch *sw, unsigned int address, 744 void *buf, size_t size); 745 struct tb_nvm *tb_nvm_alloc(struct device *dev); 746 int tb_nvm_add_active(struct tb_nvm *nvm, size_t size, nvmem_reg_read_t reg_read); 747 int tb_nvm_write_buf(struct tb_nvm *nvm, unsigned int offset, void *val, 748 size_t bytes); 749 int tb_nvm_add_non_active(struct tb_nvm *nvm, size_t size, 750 nvmem_reg_write_t reg_write); 751 void tb_nvm_free(struct tb_nvm *nvm); 752 void tb_nvm_exit(void); 753 -- 0-DAY CI Kernel Test Service https://01.org/lkp