Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2029405imn; Mon, 1 Aug 2022 08:39:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uiTID8c++CFZyH4aBMnQxXPyUbtK2Zm6ntYrgt6WsIGx6YIVQ8TDCZmkgDqNYgvM73Q6eu X-Received: by 2002:a17:907:94cb:b0:72f:1d8e:7305 with SMTP id dn11-20020a17090794cb00b0072f1d8e7305mr13006269ejc.625.1659368352976; Mon, 01 Aug 2022 08:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659368352; cv=none; d=google.com; s=arc-20160816; b=lnDJM3xg0guaO47bN4gsVx46hTB9XKbGVgoglMmmxDNZQ7Bv3V+RG1R8SsvQwc5C2p MdOQ16KS0ngh34RwdSF69utik9y94WV2+qAFfIvDRbKXNdkV5d1MX5GxGtcbqo6Z5Vde JZB6u0T8nwKJVTpEFoEEiLyy//xc2gp63SfOGUGBxGlpR38USK15ArXvEK4rsOGit1EY LurvwjG9K74E9ifROcrg6eVFjGEUdn1LJdbIkz6OhmMMRykadz35IArw2ErqcDKY80gG wpSbcwyf0aH4uWbvfzBsAdboQqCWbPlzNQPfaz0zcozbPiA5q8EPzjDDMkIPCwTroRT8 OiuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=2DXcIe7hUnldJ+7bWfHGOv4iXtFwQUzM3UzzWrBzOUs=; b=Aurpuun8aohpeBjgEE19FeH+Eo0kgRPyFaw6bE0c0OzYIw0+zgvpXw0EKkhIZk1Rw/ hUO9I8pEpb96BQyCb/TaDXP8F5kuB9PGEJSHY96kbvi97+VRlb7l4ny3j3q3/wmJZU2+ gT3SbjgXQ8YfhTTqp18+8wTqzzkwb8WMVUhXQtJ8s1lbRbeRouHri6AT9Bq1WawlYBM2 XJNCIYfrkEpXigxKkKcuKmkYlqPFHTug1YMEWzcn/mVJomBYrYq8vTyYrqzPH1dC70FN 4YZpDEFI3mb+16S2nQTT4uhgtumTYv4qyj8g94c/1R1yXWdu06IUSRp+zhxtpwIF/CtS jgTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=tI8cjlW8; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp21-20020a170906c15500b0072f48ca37d2si1550534ejc.442.2022.08.01.08.38.47; Mon, 01 Aug 2022 08:39:12 -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=@quicinc.com header.s=qcdkim header.b=tI8cjlW8; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233693AbiHAPU6 (ORCPT + 99 others); Mon, 1 Aug 2022 11:20:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233520AbiHAPUp (ORCPT ); Mon, 1 Aug 2022 11:20:45 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A63AFB49A; Mon, 1 Aug 2022 08:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1659367243; x=1690903243; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=2DXcIe7hUnldJ+7bWfHGOv4iXtFwQUzM3UzzWrBzOUs=; b=tI8cjlW8Dnw6seHPjRh0QMTaVhs4p0V1EPvNf57/SbmeXPMSF4vgSoFK vgwjo0/jF3+Ll8ne42heV07x6cq2lOH47r3Jj1hgr6ohm+laI8rXLjQae 7EELxaMcb8KwJoqrziw0K4iu7duZhMjTzvYUDHWyTqxdkb07taFoCKKG6 o=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 01 Aug 2022 08:20:43 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2022 08:20:42 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 1 Aug 2022 08:20:42 -0700 Received: from [10.216.14.65] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 1 Aug 2022 08:20:35 -0700 Message-ID: Date: Mon, 1 Aug 2022 20:50:29 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [Freedreno] [PATCH 2/5] clk: qcom: Allow custom reset ops Content-Language: en-US To: kernel test robot , freedreno , , , Rob Clark , "Bjorn Andersson" , Stephen Boyd CC: , Michael Turquette , Konrad Dybcio , Douglas Anderson , , Andy Gross , References: <20220730144713.2.I4b69f984a97535179acd9637426a1331f84f6646@changeid> <202207302137.mPbHPaHz-lkp@intel.com> From: Akhil P Oommen In-Reply-To: <202207302137.mPbHPaHz-lkp@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 On 7/30/2022 6:40 PM, kernel test robot wrote: > Hi Akhil, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on clk/clk-next] > [also build test WARNING on robh/for-next drm-misc/drm-misc-next drm-tip/drm-tip linus/master v5.19-rc8 next-20220728] > [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/Akhil-P-Oommen/clk-qcom-Support-gdsc-collapse-polling-using-reset-inteface/20220730-171922 > base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next > config: ia64-randconfig-r031-20220729 (https://download.01.org/0day-ci/archive/20220730/202207302137.mPbHPaHz-lkp@intel.com/config) > compiler: ia64-linux-gcc (GCC) 12.1.0 > 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 > # https://github.com/intel-lab-lkp/linux/commit/971a03493e9854ff4a227ee4d80b533997959891 > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Akhil-P-Oommen/clk-qcom-Support-gdsc-collapse-polling-using-reset-inteface/20220730-171922 > git checkout 971a03493e9854ff4a227ee4d80b533997959891 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/clk/qcom/ > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > drivers/clk/qcom/reset.c: In function 'qcom_reset': >>> drivers/clk/qcom/reset.c:17:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] > 17 | const struct qcom_reset_map *map = &rst->reset_map[id]; > | ^~~~~ > > > vim +17 drivers/clk/qcom/reset.c > > 13 > 14 static int qcom_reset(struct reset_controller_dev *rcdev, unsigned long id) > 15 { > 16 struct qcom_reset_controller *rst = to_qcom_reset_controller(rcdev); > > 17 const struct qcom_reset_map *map = &rst->reset_map[id]; > 18 > 19 if (map->op) > 20 return map->op(map); > 21 > 22 rcdev->ops->assert(rcdev, id); > 23 udelay(1); > 24 rcdev->ops->deassert(rcdev, id); > 25 return 0; > 26 } > 27 > Will fix this and send another version of this patch. Please let me know if there is any feedback to the whole series. -Akhil.