Skip to content

kernel/rh_messages.c: Another gcc12 warning on redundant NULL test

Eric Chanudet requested to merge echanude/centos-stream-9:warn/bz2216678 into main

Bugzilla: https://bugzilla.redhat.com/2216678
Upstream Status: RHEL only
ARK MR: cki-project/kernel-ark!2527 (merged)

Backport kenrel-ark RHEL specific fix.
The initial warning fix was:

  • f4286c54 ("kernel/rh_messages.c: gcc12 warning on redundant NULL test")
    Which re-surfaced with:
  • 9d2f3e52 ("Add taint flag for partner supported GPL modules[...]")

Signed-off-by: Eric Chanudet echanude@redhat.com

Edited by Eric Chanudet

Merge request reports