Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1792340pxb; Wed, 9 Feb 2022 04:44:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZ70RF6OfrH3cYz//5FgiF+SP34kbNFdgJ5KAH8QgEuUEtbRBq+B8LRZhHRLCqaZTJHiV5 X-Received: by 2002:a17:902:d48b:: with SMTP id c11mr2037597plg.135.1644410652873; Wed, 09 Feb 2022 04:44:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644410652; cv=none; d=google.com; s=arc-20160816; b=seY/gu3Sk8BQQehPf0JvOB6DzNzlakhRcTF9OqG2oqcc+lIV+LxpX6bJgJths/XUlv QJAo/e4FSq9sBNofKJpJ9PCT7BPonsV5Kp56C9n7jJ99A29jF6cDWU1RIHMwvTSqXG/q Ur9/AMPxZSpCRHnyEL/4n8p1glwmCibC/JTtti1NYi42yeyQtgfP6LSZQgP88/+XDHPE IyrSzzvy9v0lrYUzc2EKkTyULSXHBCnaImxu9PgaFVQdqfqdxAUtan67SUY/FbCIVeDN aMfm2b4kGG7ttc3p100+bncnOpUx4qIMtMDIsXqxpWriawYxZIqGB1xVlJ5blmhGKpeg Miyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Y2HC85oheeHNIaLwfsjq98z9rLMNpeQYrtZwERABbQI=; b=u7HWTDDlqCPYpVTIK13vExqY+/6VnBMDqjRayWV2si5p/euA5e8PQ0VXtv1wXDtV65 BNq8mNRogLYJW6GKyuThSghmPTt62S+wukcz3CcfofYwpKGEAJwLdd+n/qKHsx4VEBs9 bRMN02udwJZ2+mIfrMBgSB1kyfjwEuRb7soae8AlMk6AknfZr1BF6/SQuxRslMiBnzXR fnYlEHeR5p9XR5urDzS6Ix6iFnfpRo/rAMB1qXtFDhFra2c/O2lTxYUTa5OyKLO2PLPz oXXibXL+THoHYOarpalqJTlt6rUlBE3mLdUs+sBRjsEvAOHk07dFim33mK5JqCRt7zTg L2nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CrHvT1oj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id rj13si5259330pjb.89.2022.02.09.04.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 04:44:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CrHvT1oj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 3523BE14E44C; Wed, 9 Feb 2022 02:27:17 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235390AbiBIGyb (ORCPT + 99 others); Wed, 9 Feb 2022 01:54:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235333AbiBIGya (ORCPT ); Wed, 9 Feb 2022 01:54:30 -0500 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64457C05CB85; Tue, 8 Feb 2022 22:54:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644389673; x=1675925673; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qo/ffmlCcS58q+JxMXvgEK1N8bRkvNy+6yQLFamMA5w=; b=CrHvT1ojVzpW6VeWWD1POrMlDgvn5Ua+lY6EoJ4UZgtYKL/HzVu3cvit snjChFD72OK+19oPHEUpymYWFhnP5oKUbFTnmKq8xTn54ctJ9Hl11TVzD pYx0E5EbyJ1NUkqCdoU8nvaiNRB6DyMyBbqbhTQ4WkG7jN9ecr1YT8MB6 ckzbvwH9GPOxYB+e1uhfqG6EBRTjAXCgwpQaHi5nCY9swqmw1fICtwJaO QAITgjs6t5dQF63g7+UdplN1e6dZM77u5ndv+tS5JfDQG4yaS6pnkcOtc PlF09vw6a2YS59I5R+bl1gMAXLtfUaKK28Zcsk2VVFXdJznq8GdTZCMNK g==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="247971746" X-IronPort-AV: E=Sophos;i="5.88,354,1635231600"; d="scan'208";a="247971746" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 22:54:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,354,1635231600"; d="scan'208";a="568138924" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 08 Feb 2022 22:54:30 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nHgs1-0001Mp-Vh; Wed, 09 Feb 2022 06:54:29 +0000 Date: Wed, 9 Feb 2022 14:53:30 +0800 From: kernel test robot To: Potin Lai , Guenter Roeck , Heikki Krogerus , Greg Kroah-Hartman Cc: kbuild-all@lists.01.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Patrick Williams , Potin Lai Subject: Re: [PATCH v2 1/2] usb: typec: tcpm: add interface for passing supported_pd_rev from tcpc_dev Message-ID: <202202091453.L5BVOjcx-lkp@intel.com> References: <20220208112226.9108-2-potin.lai@quantatw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220208112226.9108-2-potin.lai@quantatw.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.0 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,T_SCC_BODY_TEXT_LINE autolearn=no 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 Potin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on usb/usb-testing] [also build test WARNING on v5.17-rc3 next-20220208] [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/0day-ci/linux/commits/Potin-Lai/usb-typec-tcpm-add-interface-for-passing-supported_pd_rev-from-tcpc_dev/20220208-202246 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing config: arm64-randconfig-s031-20220208 (https://download.01.org/0day-ci/archive/20220209/202202091453.L5BVOjcx-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.2.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-dirty # https://github.com/0day-ci/linux/commit/322696594704fa918e63d1c80fa6d346a02e9a28 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Potin-Lai/usb-typec-tcpm-add-interface-for-passing-supported_pd_rev-from-tcpc_dev/20220208-202246 git checkout 322696594704fa918e63d1c80fa6d346a02e9a28 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/usb/typec/tcpm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/usb/typec/tcpm/tcpm.c:581:16: sparse: sparse: incompatible types in comparison expression (different signedness): >> drivers/usb/typec/tcpm/tcpm.c:581:16: sparse: unsigned int * >> drivers/usb/typec/tcpm/tcpm.c:581:16: sparse: int * vim +581 drivers/usb/typec/tcpm/tcpm.c 573 574 static u32 tcpm_pd_supported_rev(struct tcpm_port *port) 575 { 576 u32 rev = PD_MAX_REV; 577 578 if (port->tcpc->supported_pd_rev) 579 rev = port->tcpc->supported_pd_rev(port->tcpc); 580 > 581 return min(rev, PD_MAX_REV); 582 } 583 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org