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, Nov 18, 1:18 AM
Unknown Object (File)
Tue, Nov 11, 9:52 AM
Unknown Object (File)
Mon, Nov 10, 2:42 PM
Unknown Object (File)
Thu, Oct 30, 2:13 PM
Unknown Object (File)
Oct 26 2025, 9:27 PM
Unknown Object (File)
Oct 25 2025, 5:33 PM
Unknown Object (File)
Oct 17 2025, 9:05 AM
Unknown Object (File)
Oct 13 2025, 9:55 AM
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