[PATCH] phy: ti: report 2 non-kernel-doc comments

Randy Dunlap rdunlap at infradead.org
Sun Nov 14 19:05:59 PST 2021


Do not use "/**" to begin a non-kernel-doc comment.
Fixes these build warnings:

drivers/phy/ti/phy-am654-serdes.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * PCIe SERDES driver for AM654x SoC

drivers/phy/ti/phy-j721e-wiz.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Wrapper driver for SERDES used in J721E

Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
Reported-by: kernel test robot <lkp at intel.com>
Cc: Kishon Vijay Abraham I <kishon at ti.com>
Cc: Vinod Koul <vkoul at kernel.org>
Cc: linux-phy at lists.infradead.org
---
 drivers/phy/ti/phy-am654-serdes.c |    2 +-
 drivers/phy/ti/phy-j721e-wiz.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20211102.orig/drivers/phy/ti/phy-am654-serdes.c
+++ linux-next-20211102/drivers/phy/ti/phy-am654-serdes.c
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0
-/**
+/*
  * PCIe SERDES driver for AM654x SoC
  *
  * Copyright (C) 2018 - 2019 Texas Instruments Incorporated - http://www.ti.com/
--- linux-next-20211102.orig/drivers/phy/ti/phy-j721e-wiz.c
+++ linux-next-20211102/drivers/phy/ti/phy-j721e-wiz.c
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0
-/**
+/*
  * Wrapper driver for SERDES used in J721E
  *
  * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/



More information about the linux-phy mailing list