[linux-safety] [PATCH] parse-sublevel-option.h : Add new line and license identifier

"Nghia Le" <[email protected]> Thu, 19 Aug 2021 00:01:09 +0700
Newsgroups tech.elisa.lists.linux-safety
Message-ID <[email protected]>
Add the new line at the end of file and add SPDX license identifier GPL-2.0, thus removing warning while running checkpatch.pl script

Signed-off-by: Nghia Le <[email protected]>
---
 tools/perf/util/parse-sublevel-options.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/perf/util/parse-sublevel-options.h b/tools/perf/util/parse-sublevel-options.h
index 9b9efcc2aaad..bb44b5af2963 100644
--- a/tools/perf/util/parse-sublevel-options.h
+++ b/tools/perf/util/parse-sublevel-options.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
 #ifndef _PERF_PARSE_SUBLEVEL_OPTIONS_H
 #define _PERF_PARSE_SUBLEVEL_OPTIONS_H
 
@@ -8,4 +10,5 @@ struct sublevel_option {
 
 int perf_parse_sublevel_options(const char *str, struct sublevel_option *opts);
 
-#endif
\ No newline at end of file
+#endif
+
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240): https://lists.elisa.tech/g/linux-safety/message/240
Mute This Topic: https://lists.elisa.tech/mt/84977020/5278000
Group Owner: [email protected]
Unsubscribe: https://lists.elisa.tech/g/linux-safety/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-