All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] staging: rtl8192e: fixed pointer error by adding '*'
@ 2021-04-10 14:56 Mitali Borkar
  2021-04-11  6:37 ` [Outreachy kernel] " Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Mitali Borkar @ 2021-04-10 14:56 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, outreachy-kernel, mitali_s

Fixed pointer error by adding '*' to the function.

Signed-off-by: Mitali Borkar <mitaliborkar810@gmail.com>
Reported-by: Julia Lawall <julia.lawall@inria.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Outreachy kernel] [PATCH v4] staging: rtl8192e: fixed pointer error by adding '*'
  2021-04-10 14:56 [PATCH v4] staging: rtl8192e: fixed pointer error by adding '*' Mitali Borkar
@ 2021-04-11  6:37 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2021-04-11  6:37 UTC (permalink / raw)
  To: Mitali Borkar; +Cc: linux-staging, linux-kernel, outreachy-kernel, mitali_s

On Sat, Apr 10, 2021 at 08:26:40PM +0530, Mitali Borkar wrote:
> Fixed pointer error by adding '*' to the function.

That really does not describe this at all.  I'll go fix this up...

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-11  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-10 14:56 [PATCH v4] staging: rtl8192e: fixed pointer error by adding '*' Mitali Borkar
2021-04-11  6:37 ` [Outreachy kernel] " Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.