diff mbox series

[ovs-dev,v4,02/14] ic: Add missing license headers.

Message ID 20260902211744.2159261-3-guilherme.paulo@magalu.cloud
State New
Headers show
Series ic: Incremental processing for ovn-ic. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/github-robot-_ovn-kubernetes fail github build: failed

Commit Message

Paulo Guilherme Silva Sept. 2, 2026, 9:17 p.m. UTC
ic/en-ic.h and ic/inc-proc-ic.h have carried no license boilerplate
since they were added by 782b8b535 ("ovn-ic: Introduce incremental
processing."), unlike every other header in the directory.

Add the Apache 2.0 header the rest of ic/ uses, and separate it from the
include guard with a blank line, which is what the .c files in the
directory and most of the tree already do.  Give ic/ovn-ic.h the same
blank line so every header under ic/ is formatted alike.

This is kept in its own patch so that the patches that follow stay
limited to the incremental-processing work.

The same boilerplate is missing from a handful of engine-node headers
under northd/ and br-controller/.  Those are left alone here.

Assisted-by: Claude Opus 5, Claude Code
Signed-off-by: Paulo Guilherme Silva <guilherme.paulo@magalu.cloud>
---
 ic/en-ic.h       | 14 ++++++++++++++
 ic/inc-proc-ic.h | 14 ++++++++++++++
 ic/ovn-ic.h      |  1 +
 3 files changed, 29 insertions(+)
diff mbox series

Patch

diff --git a/ic/en-ic.h b/ic/en-ic.h
index 48150b163..bbba92dd0 100644
--- a/ic/en-ic.h
+++ b/ic/en-ic.h
@@ -1,3 +1,17 @@ 
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 #ifndef EN_IC_H
 #define EN_IC_H 1
 
diff --git a/ic/inc-proc-ic.h b/ic/inc-proc-ic.h
index 30e3071ae..993050f8a 100644
--- a/ic/inc-proc-ic.h
+++ b/ic/inc-proc-ic.h
@@ -1,3 +1,17 @@ 
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 #ifndef INC_PROC_IC_H
 #define INC_PROC_IC_H 1
 
diff --git a/ic/ovn-ic.h b/ic/ovn-ic.h
index 1d3f4e4de..4db493e08 100644
--- a/ic/ovn-ic.h
+++ b/ic/ovn-ic.h
@@ -11,6 +11,7 @@ 
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 #ifndef OVN_IC_H
 #define OVN_IC_H 1