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)
Sat, Oct 4, 11:05 AM
Unknown Object (File)
Thu, Oct 2, 3:52 PM
Unknown Object (File)
Thu, Oct 2, 8:02 AM
Unknown Object (File)
Tue, Sep 23, 6:27 PM
Unknown Object (File)
Tue, Sep 23, 5:25 AM
Unknown Object (File)
Jul 17 2025, 4:28 PM
Unknown Object (File)
Jul 8 2025, 11:52 PM
Unknown Object (File)
Jun 29 2025, 2:00 PM
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