← Commit list

b4ad1d86b

Denys Vlasenko
Denys Vlasenko
2019-10-25
SUCCESS Duration: 156s

Subject

tc: array address is never NULL

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/tc.c+0 -2
@@ -215,8 +215,6 @@ static int prio_print_opt(struct rtattr *opt)
if (opt == NULL)
return 0;
parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt, sizeof(*qopt));
- if (tb == NULL)
- return 0;
printf("bands %u priomap ", qopt->bands);
for (i=0; i<=TC_PRIO_MAX; i++)
printf(" %d", qopt->priomap[i]);