From: "flichtenheld (Code Review)" Date: Tue, 7 Oct 2025 11:15:05 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, max@...2606... Message-ID: <59bfd5d5d31ee10ad254979fdbf9fec26eb6cc29-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="UoZEE52/2Ng="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: vlan: Remove -Wconversion override List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos , MaxF Cc: openvpn-devel --UoZEE52/2Ng= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: MaxF, flichtenheld, plaisthos. Hello MaxF, plaisthos, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/1179?usp=3Demail to look at the new patch set (#11). The following approvals got outdated and were removed: Code-Review+2 by MaxF The change is no longer submittable: Code-Review and checks~ChecksSubmitRul= e are unsatisfied now. Change subject: vlan: Remove -Wconversion override ...................................................................... vlan: Remove -Wconversion override Only Debian 11 (GCC 10) complains about this. We decided not to add work-arounds for GCC 10 and older and instead accept that they do not build -Werror clean. Change-Id: I73c46ac630834a8cf8894aaa2dcc429fbedd3db7 Signed-off-by: Frank Lichtenheld --- M src/openvpn/vlan.c 1 file changed, 0 insertions(+), 9 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/79/1179/11 diff --git a/src/openvpn/vlan.c b/src/openvpn/vlan.c index 3da470a..a6a6e93 100644 --- a/src/openvpn/vlan.c +++ b/src/openvpn/vlan.c @@ -43,11 +43,6 @@ return ntohs(hdr->pcp_cfi_vid & OPENVPN_8021Q_MASK_VID); } -#if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wconversion" -#endif - /* * Set the VLAN Identifier (VID) in an IEEE 802.1Q header. * @@ -61,10 +56,6 @@ (hdr->pcp_cfi_vid & ~OPENVPN_8021Q_MASK_VID) | (htons(vid) & OPENV= PN_8021Q_MASK_VID); } -#if defined(__GNUC__) || defined(__clang__) -#pragma GCC diagnostic pop -#endif - /* * vlan_decapsulate - remove 802.1q header and return VID * -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1179?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newpatchset Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I73c46ac630834a8cf8894aaa2dcc429fbedd3db7 Gerrit-Change-Number: 1179 Gerrit-PatchSet: 11 Gerrit-Owner: flichtenheld Gerrit-Reviewer: MaxF Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: MaxF --UoZEE52/2Ng= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: MaxF, flichtenheld, plaisthos.

flichtenheld uploaded patch set #11 to this change.

=

View = Change

The following approvals got outdated and were removed: Code-Review+2 by MaxF

The change is no longer submittable: Code-Revie= w and checks~ChecksSubmitRule are unsatisfied now.

vlan: R=
emove -Wconversion override

Only Debian 11 (GCC 10) complains about = this.
We decided not to add work-arounds for GCC 10
and older and ins= tead accept that they do not
build -Werror clean.

Change-Id: I73c= 46ac630834a8cf8894aaa2dcc429fbedd3db7
Signed-off-by: Frank Lichtenheld &= lt;frank@...2641...>
---
M src/openvpn/vlan.c
1 file changed, 0= insertions(+), 9 deletions(-)

git pull ssh://ge=
rrit.openvpn.net:29418/openvpn refs/changes/79/1179/11
diff --git a=
/src/openvpn/vlan.c b/src/openvpn/vlan.c
index 3da470a..a6a= 6e93 100644
--- a/src/openvpn/vlan.c
+++ b/= src/openvpn/vlan.c
@@ -43,11 +43,6 @@
= return ntohs(hdr->pcp_cfi_vid & OPENVPN_8021Q_MASK_VID);
<= span> }

-#if defined(__GNUC__) || defined(__clang__)
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wconv= ersion"
-#endif
-
/*
* Set the VLAN Identifier (VID) in an IEEE 802.1Q header.
*
@@ -61,10 +56,6 @@
= (hdr->pcp_cfi_vid & ~OPENVPN_8021Q_MASK_VID) | (htons(vid) & = OPENVPN_8021Q_MASK_VID);
}

-#if defined(__GNUC__) || defined(__= clang__)

-#pragma GCC d= iagnostic pop
-#endif
-
/*
* vlan_decapsulate - remove 802.1q header and return VID
*

To view, visit change 1179. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I73c46ac630834a8cf8894aaa2dc= c429fbedd3db7
Gerrit-Change-Number: 1179
Gerrit-PatchSet: 11
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: MaxF <max@...2606...> <= /div>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: MaxF <max@...2606...> =
= --UoZEE52/2Ng=--