CC: [email protected] TO: "Rafael, J., Wysocki," <[email protected]> CC: "Greg Kroah-Hartman" <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y head: 47f49ba00628e7ce16eda75304e947f7ddb149d1 commit: e82f0540a020da549702e042bbfbe633d6175ac1 [6643/9999] cpufreq: Avoid leaving stale IRQ work items during CPU offline :::::: branch date: 4 hours ago :::::: commit date: 5 months ago config: i386-randconfig-s001-20200601 (attached as .config) compiler: gcc-9 (Debian 9.3.0-13) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.1-243-gc100a7ab-dirty git checkout e82f0540a020da549702e042bbfbe633d6175ac1 # save the attached .config to linux build tree make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <[email protected]> sparse warnings: (new ones prefixed by >>) kernel/sched/cpufreq.c:79:18: sparse: sparse: incompatible types in comparison expression (different address spaces): >> kernel/sched/cpufreq.c:79:18: sparse: struct update_util_data [noderef] >> <asn:4> * >> kernel/sched/cpufreq.c:79:18: sparse: struct update_util_data * # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=e82f0540a020da549702e042bbfbe633d6175ac1 git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git git remote update linux-stable-rc git checkout e82f0540a020da549702e042bbfbe633d6175ac1 vim +79 kernel/sched/cpufreq.c e82f0540a020da Rafael J. Wysocki 2019-12-11 65 e82f0540a020da Rafael J. Wysocki 2019-12-11 66 /** e82f0540a020da Rafael J. Wysocki 2019-12-11 67 * cpufreq_this_cpu_can_update - Check if cpufreq policy can be updated. e82f0540a020da Rafael J. Wysocki 2019-12-11 68 * @policy: cpufreq policy to check. e82f0540a020da Rafael J. Wysocki 2019-12-11 69 * e82f0540a020da Rafael J. Wysocki 2019-12-11 70 * Return 'true' if: e82f0540a020da Rafael J. Wysocki 2019-12-11 71 * - the local and remote CPUs share @policy, e82f0540a020da Rafael J. Wysocki 2019-12-11 72 * - dvfs_possible_from_any_cpu is set in @policy and the local CPU is not going e82f0540a020da Rafael J. Wysocki 2019-12-11 73 * offline (in which case it is not expected to run cpufreq updates any more). e82f0540a020da Rafael J. Wysocki 2019-12-11 74 */ e82f0540a020da Rafael J. Wysocki 2019-12-11 75 bool cpufreq_this_cpu_can_update(struct cpufreq_policy *policy) e82f0540a020da Rafael J. Wysocki 2019-12-11 76 { e82f0540a020da Rafael J. Wysocki 2019-12-11 77 return cpumask_test_cpu(smp_processor_id(), policy->cpus) || e82f0540a020da Rafael J. Wysocki 2019-12-11 78 (policy->dvfs_possible_from_any_cpu && e82f0540a020da Rafael J. Wysocki 2019-12-11 @79 rcu_dereference_sched(*this_cpu_ptr(&cpufreq_update_util_data))); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
