The wrong handling of %x specifier with alternative form causes a false positive in linux kernel (https://github.com/ClangBuiltLinux/linux/issues/1923#issuecomment-1696075886)
The kernel code: 651a00bc56/drivers/media/pci/cx18/cx18-mailbox.c (L99)
This patch fixes this handling, and also adds some standard wordings as comments to clarify the reason.
Reviewed By: nickdesaulniers
Differential Revision: https://reviews.llvm.org/D159138
731 KiB
731 KiB