[PATCH] drivers:soc:fsl:qbman:qman.c: unsigned long jiffies value.

Karim Eshapa karim.eshapa at gmail.com
Sat Apr 29 16:43:40 EDT 2017


unsigned long jiffies value sorry for that.

Signed-off-by: Karim Eshapa <karim.eshapa at gmail.com>
---
 drivers/soc/fsl/qbman/qman.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/soc/fsl/qbman/qman.c
index e0df4d1..6e1a44a 100644
--- a/drivers/soc/fsl/qbman/qman.c
+++ b/drivers/soc/fsl/qbman/qman.c
@@ -1084,7 +1084,7 @@ static int drain_mr_fqrni(struct qm_portal *p)
 		 * entries well before the ring has been fully consumed, so
 		 * we're being *really* paranoid here.
 		 */
-		unsigned int udel_time = jiffies_to_usecs(10000);
+		unsigned long udel_time = jiffies_to_usecs(10000);
 
 		usleep_range(udel_time/2, udel_time);
 		msg = qm_mr_current(p);
-- 
2.7.4




More information about the linux-arm-kernel mailing list