Skip to content

Commit

Permalink
treewide: add space before SPDX identifier
Browse files Browse the repository at this point in the history
Strictly, an SPDX identifier requires a space between the comment
marker and the identifier itself. The choice of the comment marker
itself is irrelevant.

Correct:

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

Wrong:

//SPDX-License-Identifier: GPL-2.0-or-later OR MIT

Fix that in the whole tree (actually, only ramips contained wrong
uses).

Found by checkpatch.pl

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
  • Loading branch information
adschm committed Nov 25, 2020
1 parent 4287f73 commit b69c217
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/mt7620a_cameo_810.dtsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: GPL-2.0-or-later OR MIT
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "mt7620a.dtsi"

Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/mt7620a_trendnet_tew-810dr.dts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: GPL-2.0-or-later OR MIT
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "mt7620a_cameo_810.dtsi"

Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: GPL-2.0-or-later OR MIT
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "mt7628an.dtsi"

Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4c.dts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: GPL-2.0-or-later OR MIT
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "mt7628an.dtsi"

Expand Down
2 changes: 1 addition & 1 deletion target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: GPL-2.0-or-later OR MIT
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "mt7628an.dtsi"

Expand Down

0 comments on commit b69c217

Please sign in to comment.