Skip to content

Silence warnings reported by Kernel Test Robot#2324

Merged
terrelln merged 3 commits into
facebook:devfrom
terrelln:kernel-test-fix
Sep 23, 2020
Merged

Silence warnings reported by Kernel Test Robot#2324
terrelln merged 3 commits into
facebook:devfrom
terrelln:kernel-test-fix

Conversation

@terrelln

Copy link
Copy Markdown
Contributor
  • Enable -Wunused-const-variable and -Wunused-but-set-variable in the linux kernel CI so these don't regress.
  • Fix contrib/linux-kernel/zstd_deps.h to (void) all parameters in ZSTD_malloc, ZSTD_free, and ZSTD_calloc.
  • Fix all -Wunused-const-variable warnings in lib/. This includes one fix in zstd.h.

See the report here https://lkml.org/lkml/2020/9/23/598.

I will cherry pick these commits into the staging branch for zstd-1.4.6.

@terrelln
terrelln merged commit 2fc1d50 into facebook:dev Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants