]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Staging: rtl8192e: Rename variable AddReorderEntry
authorTree Davies <tdavies@darkphysics.net>
Tue, 21 May 2024 03:17:02 +0000 (20:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 11:16:20 +0000 (13:16 +0200)
Rename variable AddReorderEntry to add_reorder_entry
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240521031718.17852-16-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c

index 3afce436a5d898550f2bde48295690bf67c8d2f7..30bd6f49e91590e0f976e54ba359e718f08605b1 100644 (file)
@@ -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,