Page MenuHomeFreeBSD

sys/boot/geli build warning fixes
AcceptedPublic

Authored by aprieger_llnw.com on Aug 4 2017, 7:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 13, 10:02 PM
Unknown Object (File)
Thu, Jan 8, 2:27 AM
Unknown Object (File)
Tue, Jan 6, 6:20 AM
Unknown Object (File)
Nov 27 2025, 11:31 PM
Unknown Object (File)
Nov 18 2025, 1:18 AM
Unknown Object (File)
Nov 11 2025, 9:52 AM
Unknown Object (File)
Nov 10 2025, 2:42 PM
Unknown Object (File)
Oct 30 2025, 2:13 PM
Subscribers
None

Details

Summary

Code changes to fix warnings during build time of the application in the sys/boot/gelit folder

Test Plan

I have tested the fix on all architextures and targets, using the "make TARGET=XXX TARGET_ARCH=YYY" and the warnings have all been removed

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 10863
Build 11254: arc lint + arc unit

Event Timeline

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

  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
This revision is now accepted and ready to land.Oct 2 2017, 4:32 AM