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

Nitesh Konkar posted 1 patch 147 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1486737323-25039-1-git-send-email-niteshkonkar.libvirt@gmail.com
src/util/virnetdevmacvlan.c | 30 +++++++++++++++---------------
src/util/virnetdevmacvlan.h | 20 ++++++++++----------
2 files changed, 25 insertions(+), 25 deletions(-)

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

Posted by Nitesh Konkar 147 weeks ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

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

Posted by John Ferlan 147 weeks ago

On 02/10/2017 09:35 AM, Nitesh Konkar wrote:
> 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(-)
> 

ACK and pushed.

John

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list