From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939795AbcIFSKO (ORCPT ); Tue, 6 Sep 2016 14:10:14 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:33449 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933062AbcIFSKL (ORCPT ); Tue, 6 Sep 2016 14:10:11 -0400 Date: Tue, 6 Sep 2016 11:10:07 -0700 From: Bjorn Andersson To: Loic Pallardy Cc: ohad@wizery.com, lee.jones@linaro.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@stlinux.com Subject: Re: [PATCH v2 1/3] remoteproc: Modify FW_RSC_ADDR_ANY definition Message-ID: <20160906181007.GC15161@tuxbot> References: <1473147584-13183-1-git-send-email-loic.pallardy@st.com> <1473147584-13183-2-git-send-email-loic.pallardy@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1473147584-13183-2-git-send-email-loic.pallardy@st.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 06 Sep 00:39 PDT 2016, Loic Pallardy wrote: > Replace 0xFFFFFFFFFFFFFFFF by -1 to fit any type. > > Signed-off-by: Loic Pallardy 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 >