[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180511111726.27350-1-peter.ujfalusi@ti.com>
Date: Fri, 11 May 2018 14:17:26 +0300
From: Peter Ujfalusi <peter.ujfalusi@...com>
To: <nm@...com>, <t-kristo@...com>
CC: <ssantosh@...nel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <lokeshvutla@...com>
Subject: [PATCH] firmware: ti_sci: Correct the timeout type in ti_sci_do_xfer()
It should be 'unsigned long', not int.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
---
drivers/firmware/ti_sci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
Peter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Powered by blists - more mailing lists