Page MenuHomeFreeBSD

linuxkpi: Appease -Wunused-but-set-variable warnings from GCC.
ClosedPublic

Authored by jhb on Mar 30 2023, 11:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 6:17 AM
Unknown Object (File)
Oct 24 2024, 7:00 PM
Unknown Object (File)
Oct 5 2024, 6:19 PM
Unknown Object (File)
Sep 29 2024, 12:26 PM
Unknown Object (File)
Sep 29 2024, 10:27 AM
Unknown Object (File)
Sep 18 2024, 4:01 PM
Unknown Object (File)
Sep 18 2024, 11:30 AM
Unknown Object (File)
Sep 18 2024, 8:25 AM

Details

Summary
  • Mark assert dummy variables as __used.
  • Use a dummy (void) cast of the flags argument passed to spin_unlock_irqrestore so it gets treated as used.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable