lkml.org 
[lkml]   [2020]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5] perf: arm_dsu: Support DSU ACPI devices
From
Date
Hi Tuan

On 09/14/2020 05:21 PM, Tuan Phan wrote:

>>>> Reported-by: kernel test robot <lkp@intel.com <mailto:lkp@intel.com>>
>>>>
>>>> All warnings (new ones prefixed by >>):
>>>>
>>>>>> drivers/perf/arm_dsu_pmu.c:799:36: warning: unused variable
>>>>>> 'dsu_pmu_acpi_match' [-Wunused-const-variable]
>>>>   static const struct acpi_device_id dsu_pmu_acpi_match[] = {
>>>>                                      ^
>>>>   1 warning generated.
>>>>
>>> Do you need me to fix this warning when CONFIG_ACPI not defined?
>>
>> Yes, please. The kernel should compile fine in any config. Any compiler
>> warning is not good (unless the compiler is wrong).
>
> I will fix it. I asked because with no CONFIG_ACPI, i saw the same
> message on other drivers.

Please could you share the logs here, we could fix them too. Or patches
welcome.

Cheers
Suzuki

\
 
 \ /
  Last update: 2020-09-15 10:18    [W:0.043 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site