All of lore.kernel.org
 help / color / mirror / Atom feed
* [ammarfaizi2-block:google/android/kernel/common/android13-5.15 2562/2575] arch/arm64/kvm/iommu/s2mpu.c:129: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
@ 2022-01-11  1:17 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-11  1:17 UTC (permalink / raw)
  To: David Brazdil; +Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel, linux-doc

tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.15
head:   d52e3e4473075ddf199c9ae763e747302d729468
commit: 4a75e1b060286edbc814df36ab6b314826d2dc5e [2562/2575] ANDROID: KVM: arm64: Implement IRQ handler for S2MPU faults
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220111/202201110931.duyXOD4g-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/ammarfaizi2/linux-block/commit/4a75e1b060286edbc814df36ab6b314826d2dc5e
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.15
        git checkout 4a75e1b060286edbc814df36ab6b314826d2dc5e
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/iommu/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/arm64/kvm/iommu/s2mpu.c:129: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Parse interrupt information from DT and if found, register IRQ handler.


vim +129 arch/arm64/kvm/iommu/s2mpu.c

   127	
   128	/**
 > 129	 * Parse interrupt information from DT and if found, register IRQ handler.
   130	 * This is considered optional and will not fail even if the initialization is
   131	 * unsuccessful. In that case the IRQ will remain masked.
   132	 */
   133	static void s2mpu_probe_irq(struct platform_device *pdev, void __iomem *kaddr)
   134	{
   135		struct s2mpu_irq_info *irq_info;
   136		int ret, irq;
   137	
   138		irq = platform_get_irq_optional(pdev, 0);
   139	
   140		if (irq == -ENXIO)
   141			return; /* No IRQ specified. */
   142	
   143		if (irq < 0) {
   144			/* IRQ specified but failed to parse. */
   145			dev_err(&pdev->dev, "failed to parse IRQ, IRQ not enabled");
   146			return;
   147		}
   148	
   149		irq_info = devm_kmalloc(&pdev->dev, sizeof(*irq_info), GFP_KERNEL);
   150		if (!irq_info)
   151			return;
   152	
   153		*irq_info = (struct s2mpu_irq_info){
   154			.dev = &pdev->dev,
   155			.va = kaddr,
   156		};
   157	
   158		ret = devm_request_irq(&pdev->dev, irq, s2mpu_irq_handler, 0,
   159				       dev_name(&pdev->dev), irq_info);
   160		if (ret) {
   161			dev_err(&pdev->dev, "failed to register IRQ, IRQ not enabled");
   162			return;
   163		}
   164	}
   165	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ammarfaizi2-block:google/android/kernel/common/android13-5.15 2562/2575] arch/arm64/kvm/iommu/s2mpu.c:129: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
@ 2022-01-11  1:17 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-11  1:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2992 bytes --]

tree:   https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.15
head:   d52e3e4473075ddf199c9ae763e747302d729468
commit: 4a75e1b060286edbc814df36ab6b314826d2dc5e [2562/2575] ANDROID: KVM: arm64: Implement IRQ handler for S2MPU faults
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220111/202201110931.duyXOD4g-lkp(a)intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/ammarfaizi2/linux-block/commit/4a75e1b060286edbc814df36ab6b314826d2dc5e
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.15
        git checkout 4a75e1b060286edbc814df36ab6b314826d2dc5e
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/iommu/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/arm64/kvm/iommu/s2mpu.c:129: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Parse interrupt information from DT and if found, register IRQ handler.


vim +129 arch/arm64/kvm/iommu/s2mpu.c

   127	
   128	/**
 > 129	 * Parse interrupt information from DT and if found, register IRQ handler.
   130	 * This is considered optional and will not fail even if the initialization is
   131	 * unsuccessful. In that case the IRQ will remain masked.
   132	 */
   133	static void s2mpu_probe_irq(struct platform_device *pdev, void __iomem *kaddr)
   134	{
   135		struct s2mpu_irq_info *irq_info;
   136		int ret, irq;
   137	
   138		irq = platform_get_irq_optional(pdev, 0);
   139	
   140		if (irq == -ENXIO)
   141			return; /* No IRQ specified. */
   142	
   143		if (irq < 0) {
   144			/* IRQ specified but failed to parse. */
   145			dev_err(&pdev->dev, "failed to parse IRQ, IRQ not enabled");
   146			return;
   147		}
   148	
   149		irq_info = devm_kmalloc(&pdev->dev, sizeof(*irq_info), GFP_KERNEL);
   150		if (!irq_info)
   151			return;
   152	
   153		*irq_info = (struct s2mpu_irq_info){
   154			.dev = &pdev->dev,
   155			.va = kaddr,
   156		};
   157	
   158		ret = devm_request_irq(&pdev->dev, irq, s2mpu_irq_handler, 0,
   159				       dev_name(&pdev->dev), irq_info);
   160		if (ret) {
   161			dev_err(&pdev->dev, "failed to register IRQ, IRQ not enabled");
   162			return;
   163		}
   164	}
   165	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-11  1:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-11  1:17 [ammarfaizi2-block:google/android/kernel/common/android13-5.15 2562/2575] arch/arm64/kvm/iommu/s2mpu.c:129: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst kernel test robot
2022-01-11  1:17 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.