Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6536539rwd; Mon, 5 Jun 2023 20:56:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5QjFnzmtwZuCeiNCTmuPSOEr9/6zEsewv1PPhqrXPn3Fn+8wqCtWTWD0vX2Tw069Jx/Tm3 X-Received: by 2002:a05:6214:5087:b0:5dd:5c8d:866f with SMTP id kk7-20020a056214508700b005dd5c8d866fmr9666749qvb.23.1686023817421; Mon, 05 Jun 2023 20:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686023817; cv=none; d=google.com; s=arc-20160816; b=D/tbObbN4IiP9xwwoVzTcqjj6CgY8/x2J17G7Gqc3nzaj52pzN7nH3e9EldCm4Y98G 2VvCVxmad9PBDhPBgLhvE8HMGXnSqOMykPCs0F2eE5DbxP29DweiXC+X46Ktte605SYr KNAp/sua9WVxRZzN6OeRlsayyNK8puk1bjOpNKuE0WMNyLuGSfJFx5BOw4Rjcsd+zxjC A6/P7pBhmBqy/51PMNTb24jIDgJx9E/Sjyj79gAnvSk+DOWXq8XNbgaZ7WXyGqtkMdfS yHPtlzGxZPoXEbygxEMF2/xUyG5Czgw6+6pJy1AlnXvHIBPzaXzeIPRy3zzHT7mpn9yt aQ8w== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=a2XFb3Cb9gsre3gVGxqPm1xL7mO2HKvkxRhHBGZ0TRY=; b=OHzwc/yEi3krf/TxlBTskBR30UpwfymOKqS5Dlmc+a8qDFAHzL9U0ujbISw6hZEATt Ogo5wuYGx+KzDug2cWcnpTvu+nnnXs1DirkZ5gte+LfRkhJGGk8hgIKRMaZsA3sBgcuy miE4BewKDs+KRAIkGkboDzmWSS9ym+cWzcXtMMY7+DcTxPzVFuzSGkHcPDS+PnkwTzw/ al6igkMuLfcIwz8pT3eSJjwEyyM0D7mN4SB6L3C9+5BmYM56AUMNEI4oFbfEfE8DKNty OY6z6F2/M7pJNK2Cc1SEk3aHcTk6aMbaE9k8iwDnN0UmH0NV2c6yodbWHtx8H7uQ6xUD M4XA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jn11-20020ad45deb000000b005aa3fcc4175si5814897qvb.388.2023.06.05.20.56.43; Mon, 05 Jun 2023 20:56:57 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232883AbjFFDch (ORCPT + 99 others); Mon, 5 Jun 2023 23:32:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231847AbjFFDce (ORCPT ); Mon, 5 Jun 2023 23:32:34 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC9E111B; Mon, 5 Jun 2023 20:32:30 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 165E28143; Tue, 6 Jun 2023 11:32:23 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 6 Jun 2023 11:32:23 +0800 Received: from [192.168.120.57] (171.223.208.138) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 6 Jun 2023 11:32:22 +0800 Message-ID: <4253cd7d-c295-775d-af32-68b3de347461@starfivetech.com> Date: Tue, 6 Jun 2023 11:32:20 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 2/3] spi: cadence-quadspi: Add clock configuration for StarFive JH7110 QSPI To: kernel test robot , , , , CC: , Mark Brown , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Emil Renner Berthing , Ziv Xu References: <20230602084925.215411-3-william.qiu@starfivetech.com> <202306022017.UbwjjWRN-lkp@intel.com> Content-Language: en-US From: William Qiu In-Reply-To: <202306022017.UbwjjWRN-lkp@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 2023/6/2 20:33, kernel test robot wrote: > Hi William, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on broonie-spi/for-next] > [also build test WARNING on linus/master v6.4-rc4 next-20230602] > [cannot apply to robh/for-next] > [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/William-Qiu/dt-bindings-qspi-cdns-qspi-nor-Add-clocks-for-StarFive-JH7110-SoC/20230602-165251 > base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next > patch link: https://lore.kernel.org/r/20230602084925.215411-3-william.qiu%40starfivetech.com > patch subject: [PATCH v2 2/3] spi: cadence-quadspi: Add clock configuration for StarFive JH7110 QSPI > config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20230602/202306022017.UbwjjWRN-lkp@intel.com/config) > compiler: powerpc-linux-gcc (GCC) 12.3.0 > reproduce (this is a W=1 build): > mkdir -p ~/bin > 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/6bbd49e32d407d210b6ea322696cef2e49bf3fa1 > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review William-Qiu/dt-bindings-qspi-cdns-qspi-nor-Add-clocks-for-StarFive-JH7110-SoC/20230602-165251 > git checkout 6bbd49e32d407d210b6ea322696cef2e49bf3fa1 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=powerpc olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/spi/ > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202306022017.UbwjjWRN-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > > drivers/spi/spi-cadence-quadspi.c: In function 'cqspi_resume': >>> drivers/spi/spi-cadence-quadspi.c:1873:17: warning: ignoring return value of 'clk_bulk_prepare_enable' declared with attribute 'warn_unused_result' [-Wunused-result] > 1873 | clk_bulk_prepare_enable(cqspi->num_clks, cqspi->clks); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > vim +1873 drivers/spi/spi-cadence-quadspi.c > > 1865 > 1866 static int cqspi_resume(struct device *dev) > 1867 { > 1868 struct cqspi_st *cqspi = dev_get_drvdata(dev); > 1869 struct spi_master *master = dev_get_drvdata(dev); > 1870 > 1871 clk_prepare_enable(cqspi->clk); > 1872 if (of_device_is_compatible(dev->of_node, "starfive,jh7110-qspi")) >> 1873 clk_bulk_prepare_enable(cqspi->num_clks, cqspi->clks); > 1874 cqspi_wait_idle(cqspi); > 1875 cqspi_controller_init(cqspi); > 1876 > 1877 cqspi->current_cs = -1; > 1878 cqspi->sclk = 0; > 1879 > 1880 return spi_master_resume(master); > 1881 } > 1882 > Thanks about that. I'll fix it in next version. Best Regards, William