From: Tree Davies Date: Tue, 21 May 2024 03:17:02 +0000 (-0700) Subject: Staging: rtl8192e: Rename variable AddReorderEntry X-Git-Tag: v6.11-rc1~101^2~111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be5bd4ca524242ab963235d04314dbd9472cc007;p=thirdparty%2Flinux.git Staging: rtl8192e: Rename variable AddReorderEntry Rename variable AddReorderEntry to add_reorder_entry to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann Reviewed-by: Dan Carpenter Link: https://lore.kernel.org/r/20240521031718.17852-16-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 3afce436a5d89..30bd6f49e9159 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -403,7 +403,7 @@ drop: return 1; } -static bool AddReorderEntry(struct rx_ts_record *ts, +static bool add_reorder_entry(struct rx_ts_record *ts, struct rx_reorder_entry *pReorderEntry) { struct list_head *pList = &ts->rx_pending_pkt_list; @@ -610,7 +610,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee, pReorderEntry->SeqNum = SeqNum; pReorderEntry->prxb = prxb; - if (!AddReorderEntry(ts, pReorderEntry)) { + if (!add_reorder_entry(ts, pReorderEntry)) { int i; netdev_dbg(ieee->dev,