Staging: rtl8192e: Rename variable Dst
authorTree Davies <tdavies@darkphysics.net>
Thu, 21 Sep 2023 03:25:08 +0000 (20:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Sep 2023 09:12:19 +0000 (11:12 +0200)
Rename variable Dst to dst to fix checkpatch warning Avoid
CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20230921032515.96152-5-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_BAProc.c

index 5642e7788e4211c7ff733d7a125ec2d57709d3c9..621dbca7716a523adf5cb893a8de82823edca8cb 100644 (file)
@@ -63,7 +63,7 @@ void rtllib_reset_ba_entry(struct ba_record *pBA)
        pBA->ba_start_seq_ctrl.short_data = 0;
 }
 
-static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst,
+static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *dst,
                                    struct ba_record *pBA,
                                    u16 StatusCode, u8 type)
 {
@@ -73,7 +73,7 @@ static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst,
        u16 len = ieee->tx_headroom + 9;
 
        netdev_dbg(ieee->dev, "%s(): frame(%d) sentd to: %pM, ieee->dev:%p\n",
-                  __func__, type, Dst, ieee->dev);
+                  __func__, type, dst, ieee->dev);
 
        if (!pBA) {
                netdev_warn(ieee->dev, "pBA is NULL\n");
@@ -89,7 +89,7 @@ static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst,
 
        BAReq = skb_put(skb, sizeof(struct ieee80211_hdr_3addr));
 
-       ether_addr_copy(BAReq->addr1, Dst);
+       ether_addr_copy(BAReq->addr1, dst);
        ether_addr_copy(BAReq->addr2, ieee->dev->dev_addr);
 
        ether_addr_copy(BAReq->addr3, ieee->current_network.bssid);