[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1472242795-23970-2-git-send-email-loic.pallardy@st.com>
Date: Fri, 26 Aug 2016 22:19:54 +0200
From: Loic Pallardy <loic.pallardy@...com>
To: <bjorn.andersson@...aro.org>, <ohad@...ery.com>,
<lee.jones@...aro.org>
CC: <loic.pallardy@...com>, <linux-remoteproc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 1/2] remoteproc: Modify FW_RSC_ADDR_ANY definition
Replace 0xFFFFFFFFFFFFFFFF by -1 to fit any types in comparison operations.
Signed-off-by: Loic Pallardy <loic.pallardy@...com>
---
include/linux/remoteproc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h
index d488f9e..80e1cba 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -118,7 +118,7 @@ enum fw_resource_type {
RSC_LAST = 4,
};
-#define FW_RSC_ADDR_ANY (0xFFFFFFFFFFFFFFFF)
+#define FW_RSC_ADDR_ANY (-1)
/**
* struct fw_rsc_carveout - physically contiguous memory request
--
1.9.1
Powered by blists - more mailing lists