Code changes to fix build warnings for the application build in the sys/boot/geli folder
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 10615 Build 11020: arc lint + arc unit
Event Timeline
Comment Actions
Changelog:
Pre-fix warnings located at: https://gist.github.com/aprieger-llnw/4f6b2e7492d344ea911b918ea8f4e9d9
- 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
- warning: incompatible pointer types passing 'struct aes_xts_ctx *' to parameter of type 'caddr_t' (aka 'char *') [-Wincompatible-pointer-types]
- sys/boot/geli/geliboot_internal.h
- warning: '_STAND' macro redefined [-Wmacro-redefined]
- fix: removed the redefinition of the _STAND macro on line 54
- warning: '_STAND' macro redefined [-Wmacro-redefined]