[RESEND PATCH net v2] net: phy: aquantia: add missing include guards

Subsystems: ethernet phy library, networking drivers, the rest

STALE767d REVIEWED: 8 (8M)

1 review trailer (1 from subsystem maintainers).

2 messages, 2 authors, 2024-07-03 · open the first message on its own page

[RESEND PATCH net v2] net: phy: aquantia: add missing include guards

From: Bartosz Golaszewski <hidden>
Date: 2024-07-01 08:03:35

From: Bartosz Golaszewski <redacted>

The header is missing the include guards so add them.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Fixes: fb470f70fea7 ("net: phy: aquantia: add hwmon support")
Signed-off-by: Bartosz Golaszewski <redacted>
---
Changes since v1:
- rebased on top of net/main

 drivers/net/phy/aquantia/aquantia.h | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/drivers/net/phy/aquantia/aquantia.h b/drivers/net/phy/aquantia/aquantia.h
index 1c19ae74ad2b..4830b25e6c7d 100644
--- a/drivers/net/phy/aquantia/aquantia.h
+++ b/drivers/net/phy/aquantia/aquantia.h
@@ -6,6 +6,9 @@
  * Author: Heiner Kallweit <hkallweit1@gmail.com>
  */
 
+#ifndef AQUANTIA_H
+#define AQUANTIA_H
+
 #include <linux/device.h>
 #include <linux/phy.h>
 
@@ -120,3 +123,5 @@ static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; }
 #endif
 
 int aqr_firmware_load(struct phy_device *phydev);
+
+#endif /* AQUANTIA_H */
-- 
2.43.0

Re: [RESEND PATCH net v2] net: phy: aquantia: add missing include guards

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-07-03 01:20:31

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Mon,  1 Jul 2024 10:03:22 +0200 you wrote:
From: Bartosz Golaszewski <redacted>

The header is missing the include guards so add them.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Fixes: fb470f70fea7 ("net: phy: aquantia: add hwmon support")
Signed-off-by: Bartosz Golaszewski <redacted>

[...]
Here is the summary with links:
  - [RESEND,net,v2] net: phy: aquantia: add missing include guards
    https://git.kernel.org/netdev/net/c/219343755eae

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help