aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cesa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cesa')
-rw-r--r--sys/dev/cesa/cesa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cesa/cesa.h b/sys/dev/cesa/cesa.h
index 7bf2ff56b87e..28536d57e908 100644
--- a/sys/dev/cesa/cesa.h
+++ b/sys/dev/cesa/cesa.h
@@ -297,8 +297,8 @@ struct cesa_chain_info {
#define CESA_CSH_AES_KLEN_MASK (3 << 24)
#define CESA_CSHD_FRAG_FIRST (1 << 30)
-#define CESA_CSHD_FRAG_LAST (2 << 30)
-#define CESA_CSHD_FRAG_MIDDLE (3 << 30)
+#define CESA_CSHD_FRAG_LAST (2U << 30)
+#define CESA_CSHD_FRAG_MIDDLE (3U << 30)
/* CESA registers definitions */
#define CESA_ICR 0xDE20