Message ID | 20180511111726.27350-1-peter.ujfalusi@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E13CD60153 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 May 2018 11:17:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E506628E73 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 May 2018 11:17:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9E0E28E77; Fri, 11 May 2018 11:17:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6EED528E74 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 May 2018 11:17:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=IWNIb5PAww/IXliPvDPY58NKkOXT9fUm8aD5/C6cS5s=; b=UkGeDSAaZGktAW DCpPmeAt2c3RX2efsw9vDatXMtjg6zpRGQ03qmUdinYP7nvY6DG+yMTHskoIZiyteumYX86QdTGYT yFHk2qCSxyyhnvGy/ssik1okCXPHd2z7A1cGgBsxvMW5evAPE58c8UQDVtlDXQWYDNsu8/QVYsgPo oXpMb82Gu1zTBvaJdhOirnRt1v/RlLNBQ9LMe449a54ddPZzjo7r8dEMFuDJjlbpq/2BTySCyfF7R 29dYZPxx7Vx/dM3MVx/YHNvbXRwYcdAp8WtJR15yqIIMAMbMEIaDgm3NsYJUiPhIM+SQYLOXowWu+ OXfBAL69dBL66Qzz+wUw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fH62p-0006mY-Mi; Fri, 11 May 2018 11:17:03 +0000 Received: from fllnx210.ext.ti.com ([198.47.19.17]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fH62l-0006lZ-QP for linux-arm-kernel@lists.infradead.org; Fri, 11 May 2018 11:17:01 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4BBGjr1031498; Fri, 11 May 2018 06:16:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1526037405; bh=9b5ZDtnXZrFZD4Wa/1Ha1/xFHJZpLOCdZ8NAOH7SE6I=; h=From:To:CC:Subject:Date; b=GfE5E/eT9BRC7lwf04w/0dXZFS7hiuWhHlEpmabzWXoBd+tFRH22y5tZDSjuK36v2 JNgEJQ/mv5slgqngp2w7h+fj20UTLDVg8AEdKyH0v/ELohyV29dz4OVEEMuZV80pne HYlK1V/zQwStTaJYpmkYAXwsHSMYSD1wDiVPEoAA= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4BBGjEP030324; Fri, 11 May 2018 06:16:45 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 11 May 2018 06:16:45 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 11 May 2018 06:16:45 -0500 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4BBGgbS000396; Fri, 11 May 2018 06:16:43 -0500 From: Peter Ujfalusi <peter.ujfalusi@ti.com> To: <nm@ti.com>, <t-kristo@ti.com> Subject: [PATCH] firmware: ti_sci: Correct the timeout type in ti_sci_do_xfer() Date: Fri, 11 May 2018 14:17:26 +0300 Message-ID: <20180511111726.27350-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180511_041659_955245_7DA00920 X-CRM114-Status: GOOD ( 14.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: lokeshvutla@ti.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, ssantosh@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index b74a533ef35b..398a6db4da88 100644 --- a/drivers/firmware/ti_sci.c +++ b/drivers/firmware/ti_sci.c @@ -419,7 +419,7 @@ static inline int ti_sci_do_xfer(struct ti_sci_info *info, struct ti_sci_xfer *xfer) { int ret; - int timeout; + unsigned long timeout; struct device *dev = info->dev; ret = mbox_send_message(info->chan_tx, &xfer->tx_message);
It should be 'unsigned long', not int. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> --- drivers/firmware/ti_sci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)