From patchwork Tue Sep 6 07:39:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Pallardy X-Patchwork-Id: 75472 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp411923qgf; Tue, 6 Sep 2016 00:40:34 -0700 (PDT) X-Received: by 10.98.24.194 with SMTP id 185mr70454909pfy.52.1473147634337; Tue, 06 Sep 2016 00:40:34 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5si34063808pan.9.2016.09.06.00.40.29; Tue, 06 Sep 2016 00:40:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755502AbcIFHkM (ORCPT + 27 others); Tue, 6 Sep 2016 03:40:12 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:10627 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755396AbcIFHkG (ORCPT ); Tue, 6 Sep 2016 03:40:06 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u867aAVc001200; Tue, 6 Sep 2016 09:39:59 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-.pphosted.com with ESMTP id 257kn5gqjr-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 06 Sep 2016 09:39:59 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DF17E31; Tue, 6 Sep 2016 07:39:58 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C10471544; Tue, 6 Sep 2016 07:39:58 +0000 (GMT) Received: from localhost (10.201.23.23) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.294.0; Tue, 6 Sep 2016 09:39:58 +0200 From: Loic Pallardy To: , , CC: , , , Subject: [PATCH v2 1/3] remoteproc: Modify FW_RSC_ADDR_ANY definition Date: Tue, 6 Sep 2016 09:39:42 +0200 Message-ID: <1473147584-13183-2-git-send-email-loic.pallardy@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473147584-13183-1-git-send-email-loic.pallardy@st.com> References: <1473147584-13183-1-git-send-email-loic.pallardy@st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.23.23] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-09-06_03:, , signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace 0xFFFFFFFFFFFFFFFF by -1 to fit any type. Signed-off-by: Loic Pallardy --- include/linux/remoteproc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 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