Page MenuHomeFreeBSD

sys/boot/geli build warning fixes
AbandonedPublic

Authored by aprieger_llnw.com on Jul 21 2017, 6:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 19, 2:48 AM
Unknown Object (File)
Tue, Nov 18, 2:04 PM
Unknown Object (File)
Oct 28 2025, 3:25 PM
Unknown Object (File)
Oct 28 2025, 1:20 PM
Unknown Object (File)
Oct 27 2025, 11:43 AM
Unknown Object (File)
Oct 27 2025, 11:23 AM
Unknown Object (File)
Oct 26 2025, 5:29 PM
Unknown Object (File)
Oct 21 2025, 10:05 AM
Subscribers
None

Details

Reviewers
kbowling
sbruno
Summary

Code changes to fix build warnings for the application build in the sys/boot/geli folder

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 10615
Build 11020: arc lint + arc unit

Event Timeline

Changelog:
Pre-fix warnings located at: https://gist.github.com/aprieger-llnw/4f6b2e7492d344ea911b918ea8f4e9d9

  1. sys/boot/geli/geliboot_crypto.c
    • warning: incompatible pointer types passing 'struct aes_xts_ctx *' to parameter of type 'caddr_t' (aka 'char *') [-Wincompatible-pointer-types]
      • fix: explicitly casted the parameters to type caddr_t on lines 85, 90, 95
  2. sys/boot/geli/geliboot_internal.h
    • warning: '_STAND' macro redefined [-Wmacro-redefined]
      • fix: removed the redefinition of the _STAND macro on line 54