[20/34] net: socionext: Demote non-compliant kernel-doc headers

Message ID 1621076039-53986-21-git-send-email-shenyang39@huawei.com
State Superseded
Headers show
Series
  • Rid W=1 warnings in net
Related show

Commit Message

Yang Shen May 15, 2021, 10:53 a.m.
Fixes the following W=1 kernel build warning(s):

 drivers/net/ethernet/socionext/sni_ave.c:28: warning: expecting prototype for sni_ave.c(). Prototype was for AVE_IDR() instead

Cc: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Yang Shen <shenyang39@huawei.com>
---
 drivers/net/ethernet/socionext/sni_ave.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kunihiko Hayashi May 17, 2021, 2:17 a.m. | #1
Hi Yang,

On 2021/05/15 19:53, Yang Shen wrote:
> Fixes the following W=1 kernel build warning(s):

> 

>   drivers/net/ethernet/socionext/sni_ave.c:28: warning: expecting prototype for sni_ave.c(). Prototype was for AVE_IDR() instead

> 

> Cc: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>

> Signed-off-by: Yang Shen <shenyang39@huawei.com>


I confirmed the fix of the warning.

Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>


Thank you,

---
Best Regards
Kunihiko Hayashi

Patch

diff --git a/drivers/net/ethernet/socionext/sni_ave.c b/drivers/net/ethernet/socionext/sni_ave.c
index fcbb4bb..5eb6bb4 100644
--- a/drivers/net/ethernet/socionext/sni_ave.c
+++ b/drivers/net/ethernet/socionext/sni_ave.c
@@ -1,5 +1,5 @@ 
 // SPDX-License-Identifier: GPL-2.0
-/**
+/*
  * sni_ave.c - Socionext UniPhier AVE ethernet driver
  * Copyright 2014 Panasonic Corporation
  * Copyright 2015-2017 Socionext Inc.