aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qlxgb
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/qlxgb')
-rw-r--r--sys/dev/qlxgb/qla_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/qlxgb/qla_def.h b/sys/dev/qlxgb/qla_def.h
index 77b678c7bc83c..d5b11c1567685 100644
--- a/sys/dev/qlxgb/qla_def.h
+++ b/sys/dev/qlxgb/qla_def.h
@@ -200,7 +200,7 @@ struct qla_host {
typedef struct qla_host qla_host_t;
/* note that align has to be a power of 2 */
-#define QL_ALIGN(size, align) (size + (align - 1)) & ~(align - 1);
+#define QL_ALIGN(size, align) (((size) + ((align) - 1)) & (~((align) - 1)))
#define QL_MIN(x, y) ((x < y) ? x : y)
#define QL_RUNNING(ifp) \