Re: [PATCH 09/25] util: add g_autoptr cleanup function for virFirewall objects

2020-06-25 Thread Laine Stump

On 6/25/20 7:17 PM, Ján Tomko wrote:

The cleanup function was already added by:
commit 2ad0284627ea3d6c123e0a266b9c7bb00aea4576
CommitDate: 2018-07-27 17:21:04 +0200

    util: firewall: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC

On a Wednesday in 2020, Laine Stump wrote:

Put in a separate patch so that two future patches can be re-ordered /
selectively backported independent of each other.

Signed-off-by: Laine Stump 
---
src/util/virfirewall.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/util/virfirewall.h b/src/util/virfirewall.h
index 6148f46827..ff690b36f0 100644
--- a/src/util/virfirewall.h
+++ b/src/util/virfirewall.h
@@ -40,6 +40,7 @@ virFirewallPtr virFirewallNew(void);

void virFirewallFree(virFirewallPtr firewall);

+


This is just a whitespace change that contradicts the prevailing style
in this file.



Right. Another patch that I intended to remove before I posted, but 
forgot because it was late and I wanted to end the day with a clean slate.



Derp.




Re: [PATCH 09/25] util: add g_autoptr cleanup function for virFirewall objects

2020-06-25 Thread Ján Tomko

The cleanup function was already added by:
commit 2ad0284627ea3d6c123e0a266b9c7bb00aea4576
CommitDate: 2018-07-27 17:21:04 +0200

util: firewall: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC

On a Wednesday in 2020, Laine Stump wrote:

Put in a separate patch so that two future patches can be re-ordered /
selectively backported independent of each other.

Signed-off-by: Laine Stump 
---
src/util/virfirewall.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/util/virfirewall.h b/src/util/virfirewall.h
index 6148f46827..ff690b36f0 100644
--- a/src/util/virfirewall.h
+++ b/src/util/virfirewall.h
@@ -40,6 +40,7 @@ virFirewallPtr virFirewallNew(void);

void virFirewallFree(virFirewallPtr firewall);

+


This is just a whitespace change that contradicts the prevailing style
in this file.

Jano


/**
 * virFirewallAddRule:
 * @firewall: firewall ruleset to add to
--
2.25.4



signature.asc
Description: PGP signature


[PATCH 09/25] util: add g_autoptr cleanup function for virFirewall objects

2020-06-24 Thread Laine Stump
Put in a separate patch so that two future patches can be re-ordered /
selectively backported independent of each other.

Signed-off-by: Laine Stump 
---
 src/util/virfirewall.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/virfirewall.h b/src/util/virfirewall.h
index 6148f46827..ff690b36f0 100644
--- a/src/util/virfirewall.h
+++ b/src/util/virfirewall.h
@@ -40,6 +40,7 @@ virFirewallPtr virFirewallNew(void);
 
 void virFirewallFree(virFirewallPtr firewall);
 
+
 /**
  * virFirewallAddRule:
  * @firewall: firewall ruleset to add to
-- 
2.25.4