Fix checkpatch.pl warning. Signed-off-by: Jakub Kunert <kuba.kunert@xxxxxxxxx> --- kernel/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index a6ceb61..1ceb3fe 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -5516,7 +5516,7 @@ static const struct file_operations proc_cgroupstats_operations = { static void **subsys_canfork_priv_p(void *ss_priv[CGROUP_CANFORK_COUNT], int i) { - if (CGROUP_CANFORK_START <= i && i < CGROUP_CANFORK_END) + if (i >= CGROUP_CANFORK_START && i < CGROUP_CANFORK_END) return &ss_priv[i - CGROUP_CANFORK_START]; return NULL; } -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html