Thanks Julia, We are actually removing that function in the updated version. On Tue, 6 Jun 2017, Julia Lawall wrote:
Please check on whether rmid can be signed. julia ---------- Forwarded message ---------- Date: Tue, 6 Jun 2017 16:24:23 +0800 From: kbuild test robot <fengguang.wu@xxxxxxxxx> To: kbuild@xxxxxx Cc: Julia Lawall <julia.lawall@xxxxxxx> Subject: [ia64:cqm_and_mbm 10/18] arch/x86/kernel/cpu/intel_rdt_rdtgroup.c:1122:5-9: WARNING: Unsigned expression compared with zero: rmid < 0 CC: kbuild-all@xxxxxx CC: linux-ia64@xxxxxxxxxxxxxxx TO: Vikas Shivappa <vikas.shivappa@xxxxxxxxxxxxxxx> CC: Tony Luck <tony.luck@xxxxxxxxx> tree: https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git cqm_and_mbm head: e1a50409e356aed21c7a822b513cef97ca74934b commit: aae042f2b4e0961dea80c859d3128c47b66d499b [10/18] x86/intel_rdt/cqm: Add mkdir support for RDT monitoring :::::: branch date: 9 hours ago :::::: commit date: 9 hours agoarch/x86/kernel/cpu/intel_rdt_rdtgroup.c:1122:5-9: WARNING: Unsigned expression compared with zero: rmid < 0git remote add ia64 https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git git remote update ia64 git checkout aae042f2b4e0961dea80c859d3128c47b66d499b vim +1122 arch/x86/kernel/cpu/intel_rdt_rdtgroup.c 5ff193fb Fenghua Yu 2016-10-28 1106 kernfs_kill_sb(sb); 5ff193fb Fenghua Yu 2016-10-28 1107 mutex_unlock(&rdtgroup_mutex); 5ff193fb Fenghua Yu 2016-10-28 1108 } 5ff193fb Fenghua Yu 2016-10-28 1109 5ff193fb Fenghua Yu 2016-10-28 1110 static struct file_system_type rdt_fs_type = { 5ff193fb Fenghua Yu 2016-10-28 1111 .name = "resctrl", 5ff193fb Fenghua Yu 2016-10-28 1112 .mount = rdt_mount, 5ff193fb Fenghua Yu 2016-10-28 1113 .kill_sb = rdt_kill_sb, 5ff193fb Fenghua Yu 2016-10-28 1114 }; 5ff193fb Fenghua Yu 2016-10-28 1115 aae042f2 Vikas Shivappa 2017-06-03 1116 static int mkdir_rdt_common(struct kernfs_node *kn, enum rdt_group_type rtype, aae042f2 Vikas Shivappa 2017-06-03 1117 struct rdtgroup *rdtgrp) aae042f2 Vikas Shivappa 2017-06-03 1118 { aae042f2 Vikas Shivappa 2017-06-03 1119 u32 rmid; aae042f2 Vikas Shivappa 2017-06-03 1120 aae042f2 Vikas Shivappa 2017-06-03 1121 rmid = alloc_rmid(); aae042f2 Vikas Shivappa 2017-06-03 @1122 if (rmid < 0) aae042f2 Vikas Shivappa 2017-06-03 1123 return rmid; aae042f2 Vikas Shivappa 2017-06-03 1124 aae042f2 Vikas Shivappa 2017-06-03 1125 rdtgrp->rmid = rmid; aae042f2 Vikas Shivappa 2017-06-03 1126 rdtgrp->type = rtype; aae042f2 Vikas Shivappa 2017-06-03 1127 aae042f2 Vikas Shivappa 2017-06-03 1128 return 0; aae042f2 Vikas Shivappa 2017-06-03 1129 } aae042f2 Vikas Shivappa 2017-06-03 1130 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
-- To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |