From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7CC587F for ; Tue, 3 May 2022 09:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651570837; x=1683106837; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=P+iOAd44yQAu6dFiULlp+J/3lk1X57kR5DCW90siNJg=; b=gJvWDLUf3PbCWGlejBzAbc93AC948rmh4muSowqRhzpIMKRMrD60xhH2 RpFSxZbW0PgODYwLaEcxqbLDhZ4JrzFBKZr8NndZQ5JIcWNf1Hdl5mywh 8RCYTmdTsLUHh5L1Ta0dwSs5hW0RjTSAjDxr11DvlqNn9u9Wh/WCbaERJ Jm/dKxjxbUKqAqJkmadnfUM9M6Q7uvsf526e6zZKgk6XaqcGPeCTvftqk 0siMJWs/VfIlraN/TQAXwORE3YnAEdCeFVhqE9fehlvZLcGIEDdbkXrjN iYGDWMFBnVVAdvKzaEJKDI5GwNITQcU9oDfE6dhggWIEbI5zxPlTLUp9W g==; X-IronPort-AV: E=McAfee;i="6400,9594,10335"; a="247346553" X-IronPort-AV: E=Sophos;i="5.91,194,1647327600"; d="scan'208";a="247346553" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2022 02:40:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,194,1647327600"; d="scan'208";a="631449685" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 03 May 2022 02:40:34 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nlp1G-000ALL-9h; Tue, 03 May 2022 09:40:34 +0000 Date: Tue, 3 May 2022 17:39:52 +0800 From: kernel test robot To: Hannes Reinecke , "Martin K. Petersen" Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Christoph Hellwig , James Bottomley , linux-scsi@vger.kernel.org, Hannes Reinecke Subject: Re: [PATCH 13/24] aic7xxx: make BUILD_SCSIID() a function Message-ID: <202205031715.Eiw7By3c-lkp@intel.com> References: <20220502213820.3187-14-hare@suse.de> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220502213820.3187-14-hare@suse.de> Hi Hannes, I love your patch! Perhaps something to improve: [auto build test WARNING on mkp-scsi/for-next] [also build test WARNING on jejb-scsi/for-next powerpc/next linus/master v5.18-rc5 next-20220502] [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/Hannes-Reinecke/scsi-EH-rework-prep-patches-part-1/20220503-054317 base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next config: arm64-randconfig-r022-20220502 (https://download.01.org/0day-ci/archive/20220503/202205031715.Eiw7By3c-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 363b3a645a1e30011cc8da624f13dac5fd915628) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/5436bc0a0e277a5742af0b7b443b4591ce0e5b74 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Hannes-Reinecke/scsi-EH-rework-prep-patches-part-1/20220503-054317 git checkout 5436bc0a0e277a5742af0b7b443b4591ce0e5b74 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/scsi/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/scsi/aic7xxx/aic7xxx_osm.c:808:24: warning: operator '?:' has lower precedence than '|'; '|' will be evaluated first [-Wbitwise-conditional-parentheses] (sdev->channel == 0) ? 0 : TWIN_CHNLB; ~~~~~~~~~~~~~~~~~~~~ ^ drivers/scsi/aic7xxx/aic7xxx_osm.c:808:24: note: place parentheses around the '|' expression to silence this warning (sdev->channel == 0) ? 0 : TWIN_CHNLB; ^ ) drivers/scsi/aic7xxx/aic7xxx_osm.c:808:24: note: place parentheses around the '?:' expression to evaluate it first (sdev->channel == 0) ? 0 : TWIN_CHNLB; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 1 warning generated. vim +808 drivers/scsi/aic7xxx/aic7xxx_osm.c 800 801 802 static inline unsigned int ahc_build_scsiid(struct ahc_softc *ahc, 803 struct scsi_device *sdev) 804 { 805 unsigned int scsiid = 806 ((sdev->id << TID_SHIFT) & TID) | 807 ((sdev->channel == 0) ? ahc->our_id : ahc->our_id_b) | > 808 (sdev->channel == 0) ? 0 : TWIN_CHNLB; 809 return scsiid; 810 } 811 -- 0-DAY CI Kernel Test Service https://01.org/lkp