Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1748331imn; Sun, 31 Jul 2022 21:02:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tqhtkxOXHZUhL/2jMy01fHrFFfCI9qcOFfnFDpQbWP24heEudjYyYfinNX5NZbp2lG7Jl9 X-Received: by 2002:a05:6402:1f06:b0:43c:23c5:d879 with SMTP id b6-20020a0564021f0600b0043c23c5d879mr14254861edb.24.1659326524637; Sun, 31 Jul 2022 21:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659326524; cv=none; d=google.com; s=arc-20160816; b=ruf140wEAi+v80imZdtcLvjxBJf1zi4aeQD34iJVd8dvQaaLar/lI+GUdEh4BYbMQh SJY67k+q9GjVNope4xJh/YXTAnu/PvDCkwgYCppctulyxw3LwrhiLh5spZOeUMerY5lN WBQ+0HdLDGNs1IoeqTmCcWYw2T1bYF+f2HrvcOP3V1GEW1nR81bjOCktM+tUBo1GuOJp Uu4tbE7RURXK6UPn/lJ9+06j0+kA/drr1H3kytMiDbBEFQDtNTq/NbigxKACKZmpf32s 5FECRaDJRTzNSslPyO5s17Juw9DhSQrNkmjzANz5AzcwxMap2Ddd3A2fw8+jiEPKnNar TD0A== 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=9kOIl/jNxKOdG11eufvsFLo1/PBJzeaXofbGwerfp+0=; b=t2hxKp+sOyK39eFeN+Fhh/tqEy6joPDZl7o1Fo/S9+zdO9T0JcCdhSuhKJEw7JV+CI 5hUn3xB8Qxg7ypexc0DE6dSalAbjcEQ7Q+kwkEhaQvW96LNcMTfAT7Gv1Xco4w/crQJv 0LqsGJI3lpj1lfRK48YFE7ny8jDN7AJ9h/Vnjf8Irvhj9fS2OO2EvdpTx+kVKKur3qFw Mzn5KHluX+lBLqoaHBFjng02pDfM7Xx2o2ta99o/vX1b+3bG47mm7UtvBAQgtE9vHJ4U F+vE83uoNTOtbZy0wGfSkAcWy/NZhs3HKEeIKDV8G8s31UCIlizkKRKIjvq14R0GlFVi aslQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=c7m+uYR3; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t12-20020a056402524c00b0043bd849eb75si9726909edd.214.2022.07.31.21.01.39; Sun, 31 Jul 2022 21:02:04 -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=@intel.com header.s=Intel header.b=c7m+uYR3; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238799AbiHADyY (ORCPT + 99 others); Sun, 31 Jul 2022 23:54:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbiHADyS (ORCPT ); Sun, 31 Jul 2022 23:54:18 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C50BD12AE8; Sun, 31 Jul 2022 20:54:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659326057; x=1690862057; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=LIL0NXbRqabhEVprRkXveEeGK6nwA3ua/cchDuHt71s=; b=c7m+uYR3IZu814Ph2jLOrW6cCw2RyvCV9mmo+xcRBbv1SAORlShwGcrf 6mNCEhSwmLSQ3qeS7spunAgQ363duD+EKXjpL890CY0KqEJbFVTQmI2C1 NPUoYQ0mLxRfMizs6PG2noXDDQMxi3fQ9baqdgktFKcDvTlrPKa8oHgr7 dojKHnxLW4nTbFfEoXQusuwWp8v80N9ZZRRv0uoJ8Vzi8piWwEhYzHB7T SNrCd5anv6QA0WhHqdJ7Citba9JysWLgZBCylMl8SiAkE9FmFqnr7E1KZ flzvzMMW0a0TnUl9EdTh6OLxSq70HNXSd569fZTjf6F7REGABRVPXiD0s w==; X-IronPort-AV: E=McAfee;i="6400,9594,10425"; a="269437613" X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="269437613" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2022 20:54:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="691322796" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 31 Jul 2022 20:54:13 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oIMVQ-000Elh-2s; Mon, 01 Aug 2022 03:54:12 +0000 Date: Mon, 1 Aug 2022 11:53:13 +0800 From: kernel test robot To: Iskren Chernev , Bjorn Andersson , Krzysztof Kozlowski , Mark Brown Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Andy Gross , Konrad Dybcio , Liam Girdwood , Rob Herring , Robert Marko , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Iskren Chernev , Adam Skladowski Subject: Re: [PATCH v3 05/13] regulator: qcom_spmi: Add support for new regulator types Message-ID: <202208011110.Bms4zAP4-lkp@intel.com> References: <20220731223736.1036286-6-iskren.chernev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220731223736.1036286-6-iskren.chernev@gmail.com> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 Hi Iskren, I love your patch! Yet something to improve: [auto build test ERROR on broonie-regulator/for-next] [also build test ERROR on next-20220728] [cannot apply to krzk-dt/for-next linus/master v5.19] [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/Iskren-Chernev/PM6125-regulator-support/20220801-064059 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: arm64-buildonly-randconfig-r005-20220731 (https://download.01.org/0day-ci/archive/20220801/202208011110.Bms4zAP4-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 52cd00cabf479aa7eb6dbb063b7ba41ea57bce9e) 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/3758c84ef9cec75fc09a3463506782d3179fe480 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Iskren-Chernev/PM6125-regulator-support/20220801-064059 git checkout 3758c84ef9cec75fc09a3463506782d3179fe480 # 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/regulator/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/regulator/qcom_spmi-regulator.c:1565:15: error: incompatible function pointer types initializing 'unsigned int (*)(struct regulator_dev *)' with an expression of type 'int (struct regulator_dev *, unsigned int)' [-Werror,-Wincompatible-function-pointer-types] .get_mode = spmi_regulator_ftsmps3_get_mode, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. vim +1565 drivers/regulator/qcom_spmi-regulator.c 1554 1555 static const struct regulator_ops spmi_ftsmps3_ops = { 1556 .enable = regulator_enable_regmap, 1557 .disable = regulator_disable_regmap, 1558 .is_enabled = regulator_is_enabled_regmap, 1559 .set_voltage_sel = spmi_regulator_ftsmps426_set_voltage, 1560 .set_voltage_time_sel = spmi_regulator_set_voltage_time_sel, 1561 .get_voltage_sel = spmi_regulator_ftsmps426_get_voltage, 1562 .map_voltage = spmi_regulator_single_map_voltage, 1563 .list_voltage = spmi_regulator_common_list_voltage, 1564 .set_mode = spmi_regulator_ftsmps3_set_mode, > 1565 .get_mode = spmi_regulator_ftsmps3_get_mode, 1566 .set_load = spmi_regulator_common_set_load, 1567 .set_pull_down = spmi_regulator_common_set_pull_down, 1568 }; 1569 -- 0-DAY CI Kernel Test Service https://01.org/lkp