Silences checkpatch warning.
Issue reported by checkpatch.
Signed-off-by: John B. Wyatt IV <[email protected]>
---
kernel/sched/coretag.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sched/coretag.c b/kernel/sched/coretag.c
index 11139dbed648..6d17d11cb46f 100644
--- a/kernel/sched/coretag.c
+++ b/kernel/sched/coretag.c
@@ -287,6 +287,7 @@ unsigned long cpu_core_get_group_cookie(struct task_group *tg)
if (tg->core_tagged) {
unsigned long cookie = ((unsigned long)tg << 8) | color;
+
cookie &= SCHED_CORE_GROUP_COOKIE_MASK;
return cookie;
}
--
2.28.0