From: kernel test robot <lkp@intel.com>
To: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
rafael@kernel.org, lenb@kernel.org
Cc: kbuild-all@lists.01.org, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org,
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Subject: Re: [PATCH] ACPI / fan: Properly handle fine grain control
Date: Fri, 14 Jan 2022 15:15:47 +0800 [thread overview]
Message-ID: <202201141519.esDIoL2I-lkp@intel.com> (raw)
In-Reply-To: <20220113224713.90092-1-srinivas.pandruvada@linux.intel.com>
Hi Srinivas,
I love your patch! Yet something to improve:
[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on linux/master linus/master v5.16 next-20220114]
[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]
url: https://github.com/0day-ci/linux/commits/Srinivas-Pandruvada/ACPI-fan-Properly-handle-fine-grain-control/20220114-064818
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220114/202201141519.esDIoL2I-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/f30ef71d0435cd8735ee418eeb0bfc71a58a4554
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Srinivas-Pandruvada/ACPI-fan-Properly-handle-fine-grain-control/20220114-064818
git checkout f30ef71d0435cd8735ee418eeb0bfc71a58a4554
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
ld: drivers/acpi/fan.o: in function `fan_get_max_state':
>> drivers/acpi/fan.c:100: undefined reference to `__udivdi3'
ld: drivers/acpi/fan.o: in function `fan_set_state_acpi4':
drivers/acpi/fan.c:222: undefined reference to `__udivdi3'
ld: drivers/acpi/fan.o: in function `fan_get_state_acpi4':
drivers/acpi/fan.c:160: undefined reference to `__udivdi3'
vim +100 drivers/acpi/fan.c
91
92 /* thermal cooling device callbacks */
93 static int fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long
94 *state)
95 {
96 struct acpi_device *device = cdev->devdata;
97 struct acpi_fan *fan = acpi_driver_data(device);
98
99 if (fan->fif.fine_grain_ctrl)
> 100 *state = 100 / fan->fif.step_size;
101 else if (fan->acpi4)
102 *state = fan->fps_count - 1;
103 else
104 *state = 1;
105
106 return 0;
107 }
108
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2022-01-14 7:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-13 22:47 Srinivas Pandruvada
2022-01-14 7:15 ` kernel test robot [this message]
2022-01-14 8:42 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201141519.esDIoL2I-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=srinivas.pandruvada@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome