From 573e4f21f3d3179407fa01b04c03211d4da4781f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 8 Sep 2021 02:47:22 +0000 Subject: [PATCH] isert-scst: Enclose complex values in parentheses git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9574 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/isert-scst/iser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iscsi-scst/kernel/isert-scst/iser.h b/iscsi-scst/kernel/isert-scst/iser.h index 9dbadf816..c543c8b38 100644 --- a/iscsi-scst/kernel/isert-scst/iser.h +++ b/iscsi-scst/kernel/isert-scst/iser.h @@ -269,8 +269,8 @@ struct isert_global { struct workqueue_struct *conn_wq; }; -#define _ptr_to_u64(p) (u64)(unsigned long)(p) -#define _u64_to_ptr(v) (void *)(unsigned long)(v) +#define _ptr_to_u64(p) ((u64)(unsigned long)(p)) +#define _u64_to_ptr(v) ((void *)(unsigned long)(v)) /* global iser scope */ int isert_global_init(void);