Rather than using ACCESS_ONCE() in READ_ONCE() add a missing cast
to const in order to satisfy -Wcast-equal by gcc.
Sadly we cannot do the same to WRITE_ONCE() which still is very
noisy.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential D39706
LinuxKPI: fix READ_ONCE() -Wcast-equal warnings bz on Apr 19 2023, 9:48 PM. Authored by Tags None Referenced Files
Subscribers
Details Rather than using ACCESS_ONCE() in READ_ONCE() add a missing cast Sponsored by: The FreeBSD Foundation
Diff Detail
|