From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BA8C2C80 for ; Fri, 3 Dec 2021 06:30:01 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10186"; a="223794933" X-IronPort-AV: E=Sophos;i="5.87,283,1631602800"; d="scan'208";a="223794933" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2021 22:30:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,283,1631602800"; d="scan'208";a="677990253" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 02 Dec 2021 22:29:59 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mt250-000HAb-A2; Fri, 03 Dec 2021 06:29:58 +0000 Date: Fri, 3 Dec 2021 14:28:58 +0800 From: kernel test robot To: Linus Walleij Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org Subject: [linusw-nomadik:ux500-href-charging-compiletest 23/23] drivers/power/supply/cw2015_battery.c:691:55: error: use of undeclared identifier 'cw' Message-ID: <202112031447.ltG1SWxH-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-href-charging-compiletest head: c362e3ead88e4c099ba792a0e3813e8aaeb68732 commit: c362e3ead88e4c099ba792a0e3813e8aaeb68732 [23/23] power: supply_core: Pass pointer to battery info config: riscv-buildonly-randconfig-r006-20211203 (https://download.01.org/0day-ci/archive/20211203/202112031447.ltG1SWxH-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1e328b06c15273edf4a40a27ca24931b5efb3a87) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/commit/?id=c362e3ead88e4c099ba792a0e3813e8aaeb68732 git remote add linusw-nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git git fetch --no-tags linusw-nomadik ux500-href-charging-compiletest git checkout c362e3ead88e4c099ba792a0e3813e8aaeb68732 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/power/supply/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/power/supply/cw2015_battery.c:691:55: error: use of undeclared identifier 'cw' cw_bat->battery = devm_kzalloc(&client->dev, sizeof(cw->battery), ^ 1 error generated. -- >> drivers/power/supply/bq27xxx_battery.c:1524:34: error: incompatible pointer types passing 'struct power_supply_battery_info **' to parameter of type 'struct power_supply_battery_info *'; remove & [-Werror,-Wincompatible-pointer-types] bq27xxx_battery_set_config(di, &info); ^~~~~ drivers/power/supply/bq27xxx_battery.c:1431:46: note: passing argument to parameter 'info' here struct power_supply_battery_info *info) ^ 1 error generated. -- >> drivers/power/supply/sc27xx_fuel_gauge.c:1020:42: error: incompatible pointer types passing 'struct power_supply_battery_info **' to parameter of type 'struct power_supply_battery_info *'; remove & [-Werror,-Wincompatible-pointer-types] table = power_supply_find_ocv2cap_table(&info, 20, &data->table_len); ^~~~~ include/linux/power_supply.h:583:67: note: passing argument to parameter 'info' here power_supply_find_ocv2cap_table(struct power_supply_battery_info *info, ^ 1 error generated. vim +/cw +691 drivers/power/supply/cw2015_battery.c 641 642 static int cw_bat_probe(struct i2c_client *client) 643 { 644 int ret; 645 struct cw_battery *cw_bat; 646 struct power_supply_config psy_cfg = { 0 }; 647 648 cw_bat = devm_kzalloc(&client->dev, sizeof(*cw_bat), GFP_KERNEL); 649 if (!cw_bat) 650 return -ENOMEM; 651 652 i2c_set_clientdata(client, cw_bat); 653 cw_bat->dev = &client->dev; 654 cw_bat->soc = 1; 655 656 ret = cw2015_parse_properties(cw_bat); 657 if (ret) { 658 dev_err(cw_bat->dev, "Failed to parse cw2015 properties\n"); 659 return ret; 660 } 661 662 cw_bat->regmap = devm_regmap_init_i2c(client, &cw2015_regmap_config); 663 if (IS_ERR(cw_bat->regmap)) { 664 dev_err(cw_bat->dev, "Failed to allocate regmap: %ld\n", 665 PTR_ERR(cw_bat->regmap)); 666 return PTR_ERR(cw_bat->regmap); 667 } 668 669 ret = cw_init(cw_bat); 670 if (ret) { 671 dev_err(cw_bat->dev, "Init failed: %d\n", ret); 672 return ret; 673 } 674 675 psy_cfg.drv_data = cw_bat; 676 psy_cfg.fwnode = dev_fwnode(cw_bat->dev); 677 678 cw_bat->rk_bat = devm_power_supply_register(&client->dev, 679 &cw2015_bat_desc, 680 &psy_cfg); 681 if (IS_ERR(cw_bat->rk_bat)) { 682 /* try again if this happens */ 683 dev_err_probe(&client->dev, PTR_ERR(cw_bat->rk_bat), 684 "Failed to register power supply\n"); 685 return PTR_ERR(cw_bat->rk_bat); 686 } 687 688 ret = power_supply_get_battery_info(cw_bat->rk_bat, &cw_bat->battery); 689 if (ret) { 690 /* Allocate an empty battery */ > 691 cw_bat->battery = devm_kzalloc(&client->dev, sizeof(cw->battery), 692 GFP_KERNEL); 693 if (!cw_bat->battery) 694 return -ENOMEM; 695 dev_warn(cw_bat->dev, 696 "No monitored battery, some properties will be missing\n"); 697 } 698 699 cw_bat->battery_workqueue = create_singlethread_workqueue("rk_battery"); 700 INIT_DELAYED_WORK(&cw_bat->battery_delay_work, cw_bat_work); 701 queue_delayed_work(cw_bat->battery_workqueue, 702 &cw_bat->battery_delay_work, msecs_to_jiffies(10)); 703 return 0; 704 } 705 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3669AC433F5 for ; Fri, 3 Dec 2021 06:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=1WaluzR2uXqO1gIYFbzZghlkSrFNbkwQa6iNtOAsl3A=; b=hR1OXn9vRChZ3o AI5OV2zE70IdZQ95PDxVgu+z1po6+sbhbkMZXQzRDVHyZoCqiCF7z51IlIZvxR/7u29kGDoJwwQKy E6IjooX/GZt9VFoVE+xEuQX6kd+CofImZlonbx1fh5kMORWtihzj/yX0yeXLTW69I+u4/GDca6CJv ffLpbYvOw5yLlbnmk/CRc8FbWfUckNdtJ4CXWND0XxL2BycaFXdfh0WVBCl3DLRH0DgCTn96BLF3J KUmJBAb/vvQI/bmdYtelBPy2otC6eSnl5Aw2Dc3mBZ+R0epdqjCZQzj1m+n/0aeZxtG0BiiZJszUO rMUFuLMy9INEqr3H/jMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mt25A-00EWXa-DS; Fri, 03 Dec 2021 06:30:08 +0000 Received: from mga12.intel.com ([192.55.52.136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mt256-00EWWf-J3 for linux-arm-kernel@lists.infradead.org; Fri, 03 Dec 2021 06:30:06 +0000 X-IronPort-AV: E=McAfee;i="6200,9189,10186"; a="216941436" X-IronPort-AV: E=Sophos;i="5.87,283,1631602800"; d="scan'208";a="216941436" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2021 22:30:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,283,1631602800"; d="scan'208";a="677990253" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 02 Dec 2021 22:29:59 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mt250-000HAb-A2; Fri, 03 Dec 2021 06:29:58 +0000 Date: Fri, 3 Dec 2021 14:28:58 +0800 From: kernel test robot To: Linus Walleij Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org Subject: [linusw-nomadik:ux500-href-charging-compiletest 23/23] drivers/power/supply/cw2015_battery.c:691:55: error: use of undeclared identifier 'cw' Message-ID: <202112031447.ltG1SWxH-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211202_223004_704861_9B838B92 X-CRM114-Status: GOOD ( 12.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-href-charging-compiletest head: c362e3ead88e4c099ba792a0e3813e8aaeb68732 commit: c362e3ead88e4c099ba792a0e3813e8aaeb68732 [23/23] power: supply_core: Pass pointer to battery info config: riscv-buildonly-randconfig-r006-20211203 (https://download.01.org/0day-ci/archive/20211203/202112031447.ltG1SWxH-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1e328b06c15273edf4a40a27ca24931b5efb3a87) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/commit/?id=c362e3ead88e4c099ba792a0e3813e8aaeb68732 git remote add linusw-nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git git fetch --no-tags linusw-nomadik ux500-href-charging-compiletest git checkout c362e3ead88e4c099ba792a0e3813e8aaeb68732 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/power/supply/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/power/supply/cw2015_battery.c:691:55: error: use of undeclared identifier 'cw' cw_bat->battery = devm_kzalloc(&client->dev, sizeof(cw->battery), ^ 1 error generated. -- >> drivers/power/supply/bq27xxx_battery.c:1524:34: error: incompatible pointer types passing 'struct power_supply_battery_info **' to parameter of type 'struct power_supply_battery_info *'; remove & [-Werror,-Wincompatible-pointer-types] bq27xxx_battery_set_config(di, &info); ^~~~~ drivers/power/supply/bq27xxx_battery.c:1431:46: note: passing argument to parameter 'info' here struct power_supply_battery_info *info) ^ 1 error generated. -- >> drivers/power/supply/sc27xx_fuel_gauge.c:1020:42: error: incompatible pointer types passing 'struct power_supply_battery_info **' to parameter of type 'struct power_supply_battery_info *'; remove & [-Werror,-Wincompatible-pointer-types] table = power_supply_find_ocv2cap_table(&info, 20, &data->table_len); ^~~~~ include/linux/power_supply.h:583:67: note: passing argument to parameter 'info' here power_supply_find_ocv2cap_table(struct power_supply_battery_info *info, ^ 1 error generated. vim +/cw +691 drivers/power/supply/cw2015_battery.c 641 642 static int cw_bat_probe(struct i2c_client *client) 643 { 644 int ret; 645 struct cw_battery *cw_bat; 646 struct power_supply_config psy_cfg = { 0 }; 647 648 cw_bat = devm_kzalloc(&client->dev, sizeof(*cw_bat), GFP_KERNEL); 649 if (!cw_bat) 650 return -ENOMEM; 651 652 i2c_set_clientdata(client, cw_bat); 653 cw_bat->dev = &client->dev; 654 cw_bat->soc = 1; 655 656 ret = cw2015_parse_properties(cw_bat); 657 if (ret) { 658 dev_err(cw_bat->dev, "Failed to parse cw2015 properties\n"); 659 return ret; 660 } 661 662 cw_bat->regmap = devm_regmap_init_i2c(client, &cw2015_regmap_config); 663 if (IS_ERR(cw_bat->regmap)) { 664 dev_err(cw_bat->dev, "Failed to allocate regmap: %ld\n", 665 PTR_ERR(cw_bat->regmap)); 666 return PTR_ERR(cw_bat->regmap); 667 } 668 669 ret = cw_init(cw_bat); 670 if (ret) { 671 dev_err(cw_bat->dev, "Init failed: %d\n", ret); 672 return ret; 673 } 674 675 psy_cfg.drv_data = cw_bat; 676 psy_cfg.fwnode = dev_fwnode(cw_bat->dev); 677 678 cw_bat->rk_bat = devm_power_supply_register(&client->dev, 679 &cw2015_bat_desc, 680 &psy_cfg); 681 if (IS_ERR(cw_bat->rk_bat)) { 682 /* try again if this happens */ 683 dev_err_probe(&client->dev, PTR_ERR(cw_bat->rk_bat), 684 "Failed to register power supply\n"); 685 return PTR_ERR(cw_bat->rk_bat); 686 } 687 688 ret = power_supply_get_battery_info(cw_bat->rk_bat, &cw_bat->battery); 689 if (ret) { 690 /* Allocate an empty battery */ > 691 cw_bat->battery = devm_kzalloc(&client->dev, sizeof(cw->battery), 692 GFP_KERNEL); 693 if (!cw_bat->battery) 694 return -ENOMEM; 695 dev_warn(cw_bat->dev, 696 "No monitored battery, some properties will be missing\n"); 697 } 698 699 cw_bat->battery_workqueue = create_singlethread_workqueue("rk_battery"); 700 INIT_DELAYED_WORK(&cw_bat->battery_delay_work, cw_bat_work); 701 queue_delayed_work(cw_bat->battery_workqueue, 702 &cw_bat->battery_delay_work, msecs_to_jiffies(10)); 703 return 0; 704 } 705 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0827709674693596480==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [linusw-nomadik:ux500-href-charging-compiletest 23/23] drivers/power/supply/cw2015_battery.c:691:55: error: use of undeclared identifier 'cw' Date: Fri, 03 Dec 2021 14:28:58 +0800 Message-ID: <202112031447.ltG1SWxH-lkp@intel.com> List-Id: --===============0827709674693596480== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadi= k.git ux500-href-charging-compiletest head: c362e3ead88e4c099ba792a0e3813e8aaeb68732 commit: c362e3ead88e4c099ba792a0e3813e8aaeb68732 [23/23] power: supply_core= : Pass pointer to battery info config: riscv-buildonly-randconfig-r006-20211203 (https://download.01.org/0= day-ci/archive/20211203/202112031447.ltG1SWxH-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1e328b= 06c15273edf4a40a27ca24931b5efb3a87) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-noma= dik.git/commit/?id=3Dc362e3ead88e4c099ba792a0e3813e8aaeb68732 git remote add linusw-nomadik https://git.kernel.org/pub/scm/linux/= kernel/git/linusw/linux-nomadik.git git fetch --no-tags linusw-nomadik ux500-href-charging-compiletest git checkout c362e3ead88e4c099ba792a0e3813e8aaeb68732 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Driscv SHELL=3D/bin/bash drivers/power/supply/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/power/supply/cw2015_battery.c:691:55: error: use of undeclared i= dentifier 'cw' cw_bat->battery =3D devm_kzalloc(&client->dev, sizeof(cw= ->battery), ^ 1 error generated. -- >> drivers/power/supply/bq27xxx_battery.c:1524:34: error: incompatible poin= ter types passing 'struct power_supply_battery_info **' to parameter of typ= e 'struct power_supply_battery_info *'; remove & [-Werror,-Wincompatible-po= inter-types] bq27xxx_battery_set_config(di, &info); ^~~~~ drivers/power/supply/bq27xxx_battery.c:1431:46: note: passing argument t= o parameter 'info' here struct power_supply_battery_info = *info) = ^ 1 error generated. -- >> drivers/power/supply/sc27xx_fuel_gauge.c:1020:42: error: incompatible po= inter types passing 'struct power_supply_battery_info **' to parameter of t= ype 'struct power_supply_battery_info *'; remove & [-Werror,-Wincompatible-= pointer-types] table =3D power_supply_find_ocv2cap_table(&info, 20, &data->tabl= e_len); ^~~~~ include/linux/power_supply.h:583:67: note: passing argument to parameter= 'info' here power_supply_find_ocv2cap_table(struct power_supply_battery_info *info, ^ 1 error generated. vim +/cw +691 drivers/power/supply/cw2015_battery.c 641 = 642 static int cw_bat_probe(struct i2c_client *client) 643 { 644 int ret; 645 struct cw_battery *cw_bat; 646 struct power_supply_config psy_cfg =3D { 0 }; 647 = 648 cw_bat =3D devm_kzalloc(&client->dev, sizeof(*cw_bat), GFP_KERNEL); 649 if (!cw_bat) 650 return -ENOMEM; 651 = 652 i2c_set_clientdata(client, cw_bat); 653 cw_bat->dev =3D &client->dev; 654 cw_bat->soc =3D 1; 655 = 656 ret =3D cw2015_parse_properties(cw_bat); 657 if (ret) { 658 dev_err(cw_bat->dev, "Failed to parse cw2015 properties\n"); 659 return ret; 660 } 661 = 662 cw_bat->regmap =3D devm_regmap_init_i2c(client, &cw2015_regmap_conf= ig); 663 if (IS_ERR(cw_bat->regmap)) { 664 dev_err(cw_bat->dev, "Failed to allocate regmap: %ld\n", 665 PTR_ERR(cw_bat->regmap)); 666 return PTR_ERR(cw_bat->regmap); 667 } 668 = 669 ret =3D cw_init(cw_bat); 670 if (ret) { 671 dev_err(cw_bat->dev, "Init failed: %d\n", ret); 672 return ret; 673 } 674 = 675 psy_cfg.drv_data =3D cw_bat; 676 psy_cfg.fwnode =3D dev_fwnode(cw_bat->dev); 677 = 678 cw_bat->rk_bat =3D devm_power_supply_register(&client->dev, 679 &cw2015_bat_desc, 680 &psy_cfg); 681 if (IS_ERR(cw_bat->rk_bat)) { 682 /* try again if this happens */ 683 dev_err_probe(&client->dev, PTR_ERR(cw_bat->rk_bat), 684 "Failed to register power supply\n"); 685 return PTR_ERR(cw_bat->rk_bat); 686 } 687 = 688 ret =3D power_supply_get_battery_info(cw_bat->rk_bat, &cw_bat->batt= ery); 689 if (ret) { 690 /* Allocate an empty battery */ > 691 cw_bat->battery =3D devm_kzalloc(&client->dev, sizeof(cw->battery), 692 GFP_KERNEL); 693 if (!cw_bat->battery) 694 return -ENOMEM; 695 dev_warn(cw_bat->dev, 696 "No monitored battery, some properties will be missing\n"); 697 } 698 = 699 cw_bat->battery_workqueue =3D create_singlethread_workqueue("rk_bat= tery"); 700 INIT_DELAYED_WORK(&cw_bat->battery_delay_work, cw_bat_work); 701 queue_delayed_work(cw_bat->battery_workqueue, 702 &cw_bat->battery_delay_work, msecs_to_jiffies(10)); 703 return 0; 704 } 705 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============0827709674693596480==--