Messages in this thread | | | Date | Wed, 27 Oct 2021 08:37:07 +0100 | From | Will Deacon <> | Subject | Re: [PATCH] KVM: arm64: Remove unused TRNG_NO_ENTROPY |
| |
On Tue, Oct 26, 2021 at 05:09:13PM -0400, Qian Cai wrote: > TRNG_NO_ENTROPY was unused when introduced and now. This is also caught by > GCC (W=2): > > arch/arm64/kvm/trng.c:17: warning: macro "TRNG_NO_ENTROPY" is not used [-Wunused-macros] > 17 | #define TRNG_NO_ENTROPY ((unsigned long)-3)
This return value is defined by the TRNG SMCCC spec (Arm DEN0098) so I'd rather just keep it around given that it's not causing any problems.
Will
| |