Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp151706rdb; Thu, 30 Nov 2023 00:35:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IEqasU/7aDpL/nt8blupSpJWrLw+kB+AfmX81bjw/k6R/zgSEPzBGjjxxK1svpti+WprnXW X-Received: by 2002:a17:902:848a:b0:1cc:6cc3:d9ba with SMTP id c10-20020a170902848a00b001cc6cc3d9bamr18101056plo.4.1701333312415; Thu, 30 Nov 2023 00:35:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701333312; cv=none; d=google.com; s=arc-20160816; b=xkNkEyPgyzV4LT30rGXZX0x1ihzuAmbw/gjf/MMSnsvBVH7J426ICcjYtKuu6NAHK+ ad3RvzSmkHK9vYQBOZnEJXYI2l01g8f93v0YsN1ThRSiiV9p9ujxwlwEEJ/0Z3p14kGJ rtf1gmo8cyMEn5HQm0vORM6zMTnKrQnTuLTJ1Phe13NrwY1N2s+s+yRmo1tj/shB47SV y/1k5TBigH4quWZ+Y8BQ8dtT8KQzaWeGnnO04a3xseStEdOK5VhAbQ1XA/NF27BwcPic QUog8mI82Y3yHmRNVloA81ccpoDzHK3mYalVbOwskzYsKdsww8bPirYPH0JS2knhWZLF hfQg== 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=/CUSsx98CZUQ0f8qHA7YwetMeZuX3ZuRce8Ssv/CthM=; fh=C/emHGLyKVj54P3jDh71GIzQdQZ58aQUuOvGSdu5jN4=; b=aLNOOcai4Ev3fZGhYm64yMn62XNMNz7tPElPhglCDDHswEHBHRtWozYSsCc7Yu06MB 3kkpmpZk74gfe4wHH1MivaSSd6GR5unAHk/PfhVAla0C/4cRGs0Oo7uyZ66ColF2p5aG lSBqHwUCTuCUh7/sozbBhPYXy1/aeSX6p5v/5tfXAeGfQuoY28SphBBiu6GvL67/Yqi8 eZSQcF/+18GLEbyWIlPDKchRwUNvgPOEfwL2TY6iajd3cE/hQW9KXe5E5EGF5p7AuIv9 MBf0rPiYtShSxFX+Z+AvZb9ssYPz58shZ/Wf3jjg7BLVSLkaChiU4q7mtE/62uAGaKIx UKbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=O3xe3Oxj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id jb1-20020a170903258100b001c5fb45613dsi687115plb.318.2023.11.30.00.35.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 00:35:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=O3xe3Oxj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1BA108037A98; Thu, 30 Nov 2023 00:35:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344851AbjK3Iet (ORCPT + 99 others); Thu, 30 Nov 2023 03:34:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234988AbjK3Ies (ORCPT ); Thu, 30 Nov 2023 03:34:48 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93DA010E4 for ; Thu, 30 Nov 2023 00:34:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701333293; x=1732869293; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0SboqQn8ZcUo9uKZvfvCfyG81ezCN6T/zrFvF7NSEBw=; b=O3xe3Oxj3U1zJx1dJ61Y4PzuEHzvWSYYXjXzrVhU90qLawvwTvag/97D urAJ7f+qBVKqesdHTVAeIlctnKFOSpN0o/aXwcSvFfxZFPoJnmDghoC0C gHMKmPuBjeZRCI8DIWvJDrjX4hiOac86MAIwLgx6SeOCpI7cF99mmhH6Q 6QoHKifPF6KvlYYbUsh1PxnjWHSZgcAfO3aPQox5yqEir6v+hUgExDNcM PArgKh2fNlz5rJE5ztiBK9nU9bGaGiVCj3PcTt8KgX0lKcMG//rMIFZ1/ 4Td4F/KnPgRb0Zr3Z35L/pbQqo4BBcHRtyM/9V2ENCvLPONAGp/Ja5WQz Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="6562132" X-IronPort-AV: E=Sophos;i="6.04,237,1695711600"; d="scan'208";a="6562132" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2023 00:34:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10909"; a="803601465" X-IronPort-AV: E=Sophos;i="6.04,237,1695711600"; d="scan'208";a="803601465" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 30 Nov 2023 00:34:52 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1r8cVW-0001a8-0V; Thu, 30 Nov 2023 08:34:50 +0000 Date: Thu, 30 Nov 2023 16:34:17 +0800 From: kernel test robot To: Beniamin Sandu , dinguyen@kernel.org, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Beniamin Sandu Subject: Re: [PATCH] firmware: stratix10-rsu: correctly report unsupported DCMF commands Message-ID: <202311301536.gQXR41jR-lkp@intel.com> References: <20231129190336.247674-1-beniaminsandu@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231129190336.247674-1-beniaminsandu@gmail.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 30 Nov 2023 00:35:08 -0800 (PST) Hi Beniamin, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.7-rc3 next-20231130] [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/Beniamin-Sandu/firmware-stratix10-rsu-correctly-report-unsupported-DCMF-commands/20231130-055016 base: linus/master patch link: https://lore.kernel.org/r/20231129190336.247674-1-beniaminsandu%40gmail.com patch subject: [PATCH] firmware: stratix10-rsu: correctly report unsupported DCMF commands config: arm64-defconfig (https://download.01.org/0day-ci/archive/20231130/202311301536.gQXR41jR-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/202311301536.gQXR41jR-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311301536.gQXR41jR-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/firmware/stratix10-rsu.c: In function 'rsu_dcmf_version_callback': >> drivers/firmware/stratix10-rsu.c:240:9: error: expected ';' before 'else' 240 | else | ^~~~ drivers/firmware/stratix10-rsu.c: In function 'rsu_dcmf_status_callback': drivers/firmware/stratix10-rsu.c:271:9: error: expected ';' before 'else' 271 | else | ^~~~ vim +240 drivers/firmware/stratix10-rsu.c 217 218 /** 219 * rsu_dcmf_version_callback() - Callback from Intel service layer for getting 220 * the DCMF version 221 * @client: pointer to client 222 * @data: pointer to callback data structure 223 * 224 * Callback from Intel service layer for DCMF version number 225 */ 226 static void rsu_dcmf_version_callback(struct stratix10_svc_client *client, 227 struct stratix10_svc_cb_data *data) 228 { 229 struct stratix10_rsu_priv *priv = client->priv; 230 unsigned long long *value1 = (unsigned long long *)data->kaddr1; 231 unsigned long long *value2 = (unsigned long long *)data->kaddr2; 232 233 if (data->status == BIT(SVC_STATUS_OK)) { 234 priv->dcmf_version.dcmf0 = FIELD_GET(RSU_DCMF0_MASK, *value1); 235 priv->dcmf_version.dcmf1 = FIELD_GET(RSU_DCMF1_MASK, *value1); 236 priv->dcmf_version.dcmf2 = FIELD_GET(RSU_DCMF2_MASK, *value2); 237 priv->dcmf_version.dcmf3 = FIELD_GET(RSU_DCMF3_MASK, *value2); 238 } else if (data->status == BIT(SVC_STATUS_NO_SUPPORT)) 239 dev_warn(client->dev, "Secure FW doesn't support DCMF version.") > 240 else 241 dev_err(client->dev, "failed to get DCMF version\n"); 242 243 complete(&priv->completion); 244 } 245 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki