From 42e0bef5fec6fceb609fa0d3618078d5e40dff98 Mon Sep 17 00:00:00 2001 From: Yun Park Date: Wed, 5 Apr 2017 22:36:33 -0700 Subject: [PATCH] qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.c Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.c Change-Id: Ia8fc0a14b34876eb648d1c22a0e96e733cc317c4 CRs-Fixed: 2032874 --- core/dp/txrx/ol_rx_reorder_timeout.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/dp/txrx/ol_rx_reorder_timeout.c b/core/dp/txrx/ol_rx_reorder_timeout.c index d2a9f8a17a15..8eec306964ca 100644 --- a/core/dp/txrx/ol_rx_reorder_timeout.c +++ b/core/dp/txrx/ol_rx_reorder_timeout.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -37,7 +37,7 @@ #ifdef QCA_SUPPORT_OL_RX_REORDER_TIMEOUT -void ol_rx_reorder_timeout_remove(struct ol_txrx_peer_t *peer, unsigned tid) +void ol_rx_reorder_timeout_remove(struct ol_txrx_peer_t *peer, unsigned int tid) { struct ol_txrx_pdev_t *pdev; struct ol_tx_reorder_cat_timeout_t *rx_reorder_timeout_ac; @@ -140,7 +140,7 @@ static void ol_rx_reorder_timeout(void *arg) TAILQ_FOREACH_SAFE(list_elem, &rx_reorder_timeout_ac->virtual_timer_list, reorder_timeout_list_elem, tmp) { - unsigned idx_start, idx_end; + unsigned int idx_start, idx_end; struct ol_txrx_peer_t *peer; if (list_elem->timestamp_ms > time_now_ms) @@ -174,6 +174,7 @@ void ol_rx_reorder_timeout_init(struct ol_txrx_pdev_t *pdev) for (i = 0; i < QDF_ARRAY_SIZE(pdev->rx.reorder_timeout.access_cats); i++) { struct ol_tx_reorder_cat_timeout_t *rx_reorder_timeout_ac; + rx_reorder_timeout_ac = &pdev->rx.reorder_timeout.access_cats[i]; /* init the per-AC timers */ @@ -209,6 +210,7 @@ void ol_rx_reorder_timeout_cleanup(struct ol_txrx_pdev_t *pdev) for (i = 0; i < QDF_ARRAY_SIZE(pdev->rx.reorder_timeout.access_cats); i++) { struct ol_tx_reorder_cat_timeout_t *rx_reorder_timeout_ac; + rx_reorder_timeout_ac = &pdev->rx.reorder_timeout.access_cats[i]; qdf_timer_stop(&rx_reorder_timeout_ac->timer);