[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YHG8qARLUX2KPWwI@kali>
Date: Sat, 10 Apr 2021 20:26:40 +0530
From: Mitali Borkar <mitaliborkar810@...il.com>
To: gregkh@...uxfoundation.org
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
outreachy-kernel@...glegroups.com, mitali_s@...iitr.ac.in
Subject: [PATCH v4] staging: rtl8192e: fixed pointer error by adding '*'
Fixed pointer error by adding '*' to the function.
Signed-off-by: Mitali Borkar <mitaliborkar810@...il.com>
Reported-by: Julia Lawall <julia.lawall@...ia.fr>
---
Changes from v3:- added reported by tag in proper manner.
Changes from v2:- changed the patch nody to describe changes.
Changes from v1:- added pointer to the function.
drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c
index 4457c1acfbf6..78b5b4eaec5f 100644
--- a/drivers/staging/rtl8192e/rtl819x_TSProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c
@@ -327,7 +327,7 @@ bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS,
}
*ppTS = SearchAdmitTRStream(ieee, Addr, UP, TxRxSelect);
- if (ppTS)
+ if (*ppTS)
return true;
if (!bAddNewTs) {
--
2.30.2
Powered by blists - more mailing lists