Skip to content

Instantly share code, notes, and snippets.

@aprieger-llnw
Last active August 10, 2017 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aprieger-llnw/4f6b2e7492d344ea911b918ea8f4e9d9 to your computer and use it in GitHub Desktop.
Save aprieger-llnw/4f6b2e7492d344ea911b918ea8f4e9d9 to your computer and use it in GitHub Desktop.
In file included from /usr/home/aprieger/repos/freebsd_master/freebsd/sys/boot/geli/geliboot_crypto.c:34:
/usr/home/aprieger/repos/freebsd_master/freebsd/sys/boot/geli/geliboot_internal.h:54:9: warning:
'_STAND' macro redefined [-Wmacro-redefined]
#define _STAND
^
<command line>:3:9: note: previous definition is here
#define _STAND 1
^
/usr/home/aprieger/repos/freebsd_master/freebsd/sys/boot/geli/geliboot_crypto.c:85:28: warning:
incompatible pointer types passing 'struct aes_xts_ctx *' to parameter of
type 'caddr_t' (aka 'char *') [-Wincompatible-pointer-types]
enc_xform_aes_xts.reinit(ctxp, iv);
^~~~
/usr/home/aprieger/repos/freebsd_master/freebsd/sys/boot/geli/geliboot_crypto.c:90:31: warning:
incompatible pointer types passing 'struct aes_xts_ctx *' to parameter of
type 'caddr_t' (aka 'char *') [-Wincompatible-pointer-types]
enc_xform_aes_xts.decrypt(ctxp, data + i);
^~~~
/usr/home/aprieger/repos/freebsd_master/freebsd/sys/boot/geli/geliboot_crypto.c:95:31: warning:
incompatible pointer types passing 'struct aes_xts_ctx *' to parameter of
type 'caddr_t' (aka 'char *') [-Wincompatible-pointer-types]
enc_xform_aes_xts.encrypt(ctxp, data + i);
^~~~
4 warnings generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment