Skip to content

Commit

Permalink
test/bpf: fix comment markers for SPDX tags
Browse files Browse the repository at this point in the history
SPDX tags in C source files (.c) should use C++-style comments, let's
address it.

Reference: https://www.kernel.org/doc/html/v5.16/process/license-rules.html#license-identifier-syntax

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
  • Loading branch information
qmonnet authored and joestringer committed Feb 17, 2022
1 parent 962694e commit d5edfa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/bpf/drop-notify-test.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// SPDX-License-Identifier: GPL-2.0
/* Copyright (C) 2021 Authors of Cilium */

// source file for drop_notify_test.h.
Expand Down
2 changes: 1 addition & 1 deletion test/bpf/nat-test.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// SPDX-License-Identifier: GPL-2.0
/* Copyright (C) 2021 Authors of Cilium */

// source file for nat_test.h.
Expand Down

0 comments on commit d5edfa1

Please sign in to comment.