linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: exynos5: correct top kerneldoc
@ 2021-04-05 18:14 Krzysztof Kozlowski
  2021-04-06 20:33 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2021-04-05 18:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Wolfram Sang, linux-i2c, linux-arm-kernel,
	linux-samsung-soc, linux-kernel

The top comment is not a kerneldoc, as W=1 build reports:

  drivers/i2c/busses/i2c-exynos5.c:39: warning:
    expecting prototype for i2c(). Prototype was for HSI2C_CTL() instead

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 drivers/i2c/busses/i2c-exynos5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-exynos5.c b/drivers/i2c/busses/i2c-exynos5.c
index 5ac30d95650c..97d4f3ac0abd 100644
--- a/drivers/i2c/busses/i2c-exynos5.c
+++ b/drivers/i2c/busses/i2c-exynos5.c
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * i2c-exynos5.c - Samsung Exynos5 I2C Controller Driver
  *
  * Copyright (C) 2013 Samsung Electronics Co., Ltd.
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] i2c: exynos5: correct top kerneldoc
  2021-04-05 18:14 [PATCH] i2c: exynos5: correct top kerneldoc Krzysztof Kozlowski
@ 2021-04-06 20:33 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2021-04-06 20:33 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: linux-i2c, linux-arm-kernel, linux-samsung-soc, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 377 bytes --]

On Mon, Apr 05, 2021 at 08:14:05PM +0200, Krzysztof Kozlowski wrote:
> The top comment is not a kerneldoc, as W=1 build reports:
> 
>   drivers/i2c/busses/i2c-exynos5.c:39: warning:
>     expecting prototype for i2c(). Prototype was for HSI2C_CTL() instead
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

Applied to for-current, thanks!


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-04-06 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 18:14 [PATCH] i2c: exynos5: correct top kerneldoc Krzysztof Kozlowski
2021-04-06 20:33 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).