Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1477129 > unrolled thread

[PATCH v2 1/3] remoteproc: Modify FW_RSC_ADDR_ANY definition

Started byLoic Pallardy <loic.pallardy@st.com>
First post2016-09-06 09:50 +0200
Last post2016-09-06 20:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 1/3] remoteproc: Modify FW_RSC_ADDR_ANY definition Loic Pallardy <loic.pallardy@st.com> - 2016-09-06 09:50 +0200
    Re: [PATCH v2 1/3] remoteproc: Modify FW_RSC_ADDR_ANY definition Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-09-06 20:20 +0200

#1477129 — [PATCH v2 1/3] remoteproc: Modify FW_RSC_ADDR_ANY definition

FromLoic Pallardy <loic.pallardy@st.com>
Date2016-09-06 09:50 +0200
Subject[PATCH v2 1/3] remoteproc: Modify FW_RSC_ADDR_ANY definition
Message-ID<sejiO-7mF-37@gated-at.bofh.it>
Replace 0xFFFFFFFFFFFFFFFF by -1 to fit any type.

Signed-off-by: Loic Pallardy <loic.pallardy@st.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

[toc] | [next] | [standalone]


#1477730

FromBjorn Andersson <bjorn.andersson@linaro.org>
Date2016-09-06 20:20 +0200
Message-ID<set8u-5vV-19@gated-at.bofh.it>
In reply to#1477129
On Tue 06 Sep 00:39 PDT 2016, Loic Pallardy wrote:

> Replace 0xFFFFFFFFFFFFFFFF by -1 to fit any type.
> 
> Signed-off-by: Loic Pallardy <loic.pallardy@st.com>

Applied, thanks

> ---
>  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
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web