Re: [PATCH] tpm: eventlog: Declare mapping_size __maybe_unused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jarkko,

On 2025/3/12 14:20, Jarkko Sakkinen wrote:
Why do we care clang-19 with W=1e?

1. the kernel, being a software endeavor predicated on robustness, should not normally countenance build failures stemming from toolchain and compilation setups that are implicitly project-approved.

2. Besides, it's not as if GCC is immune to "unused-but-set-variable" warnings.  The thing is, I just happen to be using clang-19 for kernel builds.

Only one instance that demonstrates the issue please.

Thanks for the feedback, I'll be more mindful going forward.

--
WangYuli

Attachment: OpenPGP_0xC5DA1F3046F40BEE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux