]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: phy: aquantia: fix commenting format
authorAryan Srivastava <aryan.srivastava@alliedtelesis.co.nz>
Mon, 28 Apr 2025 21:49:20 +0000 (09:49 +1200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 29 Apr 2025 22:13:21 +0000 (15:13 -0700)
Comment was erroneously added with /**, amend this to use /* as it is
not a kernel-doc.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202504262247.1UBrDBVN-lkp@intel.com/
Signed-off-by: Aryan Srivastava <aryan.srivastava@alliedtelesis.co.nz>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250428214920.813038-1-aryan.srivastava@alliedtelesis.co.nz
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/aquantia/aquantia_main.c

index 08b1c9cc902b82f80be2023423f3257a1ae3aa60..77a48635d7bf0a3ac97aa095aeb30ec4be29d942 100644 (file)
@@ -516,8 +516,7 @@ static int aqr105_read_status(struct phy_device *phydev)
        if (!phydev->link || phydev->autoneg == AUTONEG_DISABLE)
                return 0;
 
-       /**
-        * The status register is not immediately correct on line side link up.
+       /* The status register is not immediately correct on line side link up.
         * Poll periodically until it reflects the correct ON state.
         * Only return fail for read error, timeout defaults to OFF state.
         */
@@ -634,8 +633,7 @@ static int aqr107_read_status(struct phy_device *phydev)
        if (!phydev->link || phydev->autoneg == AUTONEG_DISABLE)
                return 0;
 
-       /**
-        * The status register is not immediately correct on line side link up.
+       /* The status register is not immediately correct on line side link up.
         * Poll periodically until it reflects the correct ON state.
         * Only return fail for read error, timeout defaults to OFF state.
         */