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)
Sun, Apr 14, 1:56 AM
Unknown Object (File)
Mon, Apr 8, 10:59 AM
Unknown Object (File)
Mar 13 2024, 9:28 AM
Unknown Object (File)
Feb 11 2024, 3:32 PM
Unknown Object (File)
Jan 8 2024, 6:05 AM
Unknown Object (File)
Dec 24 2023, 5:12 AM
Unknown Object (File)
Dec 20 2023, 7:17 AM
Unknown Object (File)
Nov 18 2023, 9:43 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