From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 828E0C00144 for ; Mon, 1 Aug 2022 03:54:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238938AbiHADyT (ORCPT ); Sun, 31 Jul 2022 23:54:19 -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> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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