[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] util: Fix indentation for virnetdevmacvlan



Signed-off-by: Nitesh Konkar <nitkon12 linux vnet ibm com>
---
 src/util/virnetdevmacvlan.c | 30 +++++++++++++++---------------
 src/util/virnetdevmacvlan.h | 20 ++++++++++----------
 2 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/src/util/virnetdevmacvlan.c b/src/util/virnetdevmacvlan.c
index c8c16b5..b106ca1 100644
--- a/src/util/virnetdevmacvlan.c
+++ b/src/util/virnetdevmacvlan.c
@@ -1222,11 +1222,11 @@ int virNetDevMacVLanDeleteWithVPortProfile(const char *ifname,
  * Returns 0; returns -1 on error.
  */
 int virNetDevMacVLanRestartWithVPortProfile(const char *cr_ifname,
-                                           const virMacAddr *macaddress,
-                                           const char *linkdev,
-                                           const unsigned char *vmuuid,
-                                           virNetDevVPortProfilePtr virtPortProfile,
-                                           virNetDevVPortProfileOp vmOp)
+                                            const virMacAddr *macaddress,
+                                            const char *linkdev,
+                                            const unsigned char *vmuuid,
+                                            virNetDevVPortProfilePtr virtPortProfile,
+                                            virNetDevVPortProfileOp vmOp)
 {
     int rc = 0;
 
@@ -1301,11 +1301,11 @@ int virNetDevMacVLanDeleteWithVPortProfile(const char *ifname ATTRIBUTE_UNUSED,
 }
 
 int virNetDevMacVLanRestartWithVPortProfile(const char *cr_ifname ATTRIBUTE_UNUSED,
-                                           const virMacAddr *macaddress ATTRIBUTE_UNUSED,
-                                           const char *linkdev ATTRIBUTE_UNUSED,
-                                           const unsigned char *vmuuid ATTRIBUTE_UNUSED,
-                                           virNetDevVPortProfilePtr virtPortProfile ATTRIBUTE_UNUSED,
-                                           virNetDevVPortProfileOp vmOp ATTRIBUTE_UNUSED)
+                                            const virMacAddr *macaddress ATTRIBUTE_UNUSED,
+                                            const char *linkdev ATTRIBUTE_UNUSED,
+                                            const unsigned char *vmuuid ATTRIBUTE_UNUSED,
+                                            virNetDevVPortProfilePtr virtPortProfile ATTRIBUTE_UNUSED,
+                                            virNetDevVPortProfileOp vmOp ATTRIBUTE_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
                          _("Cannot create macvlan devices on this platform"));
@@ -1313,11 +1313,11 @@ int virNetDevMacVLanRestartWithVPortProfile(const char *cr_ifname ATTRIBUTE_UNUS
 }
 
 int virNetDevMacVLanVPortProfileRegisterCallback(const char *ifname ATTRIBUTE_UNUSED,
-                                             const virMacAddr *macaddress ATTRIBUTE_UNUSED,
-                                             const char *linkdev ATTRIBUTE_UNUSED,
-                                             const unsigned char *vmuuid ATTRIBUTE_UNUSED,
-                                             virNetDevVPortProfilePtr virtPortProfile ATTRIBUTE_UNUSED,
-                                             virNetDevVPortProfileOp vmOp ATTRIBUTE_UNUSED)
+                                                 const virMacAddr *macaddress ATTRIBUTE_UNUSED,
+                                                 const char *linkdev ATTRIBUTE_UNUSED,
+                                                 const unsigned char *vmuuid ATTRIBUTE_UNUSED,
+                                                 virNetDevVPortProfilePtr virtPortProfile ATTRIBUTE_UNUSED,
+                                                 virNetDevVPortProfileOp vmOp ATTRIBUTE_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",
                          _("Cannot create macvlan devices on this platform"));
diff --git a/src/util/virnetdevmacvlan.h b/src/util/virnetdevmacvlan.h
index 8e0a352..9a85a65 100644
--- a/src/util/virnetdevmacvlan.h
+++ b/src/util/virnetdevmacvlan.h
@@ -92,20 +92,20 @@ int virNetDevMacVLanDeleteWithVPortProfile(const char *ifname,
     ATTRIBUTE_NONNULL(6) ATTRIBUTE_RETURN_CHECK;
 
 int virNetDevMacVLanRestartWithVPortProfile(const char *cr_ifname,
-                                           const virMacAddr *macaddress,
-                                           const char *linkdev,
-                                           const unsigned char *vmuuid,
-                                           virNetDevVPortProfilePtr virtPortProfile,
-                                           virNetDevVPortProfileOp vmOp)
+                                            const virMacAddr *macaddress,
+                                            const char *linkdev,
+                                            const unsigned char *vmuuid,
+                                            virNetDevVPortProfilePtr virtPortProfile,
+                                            virNetDevVPortProfileOp vmOp)
     ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3)
     ATTRIBUTE_NONNULL(4) ATTRIBUTE_RETURN_CHECK;
 
 int virNetDevMacVLanVPortProfileRegisterCallback(const char *ifname,
-                                             const virMacAddr *macaddress,
-                                             const char *linkdev,
-                                             const unsigned char *vmuuid,
-                                             virNetDevVPortProfilePtr virtPortProfile,
-                                             virNetDevVPortProfileOp vmOp)
+                                                 const virMacAddr *macaddress,
+                                                 const char *linkdev,
+                                                 const unsigned char *vmuuid,
+                                                 virNetDevVPortProfilePtr virtPortProfile,
+                                                 virNetDevVPortProfileOp vmOp)
 ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3)
 ATTRIBUTE_NONNULL(4) ATTRIBUTE_RETURN_CHECK;
 #endif /* __UTIL_MACVTAP_H__ */
-- 
1.9.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]