projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
964ce50
)
block: pg: add header include guard
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Sat, 20 Jul 2019 12:05:25 +0000
(21:05 +0900)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 3 Oct 2019 02:32:27 +0000
(20:32 -0600)
Add a header include guard just in case.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/pg.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/pg.h
b/include/uapi/linux/pg.h
index 364c350e85cd346d33ce139c51307595d132c94f..62b6f69bd9fb0c196732d4574f7b6dd764063d43 100644
(file)
--- a/
include/uapi/linux/pg.h
+++ b/
include/uapi/linux/pg.h
@@
-35,6
+35,9
@@
*/
+#ifndef _UAPI_LINUX_PG_H
+#define _UAPI_LINUX_PG_H
+
#define PG_MAGIC 'P'
#define PG_RESET 'Z'
#define PG_COMMAND 'C'
@@
-61,4
+64,4
@@
struct pg_read_hdr {
};
-
/* end of pg.h
*/
+
#endif /* _UAPI_LINUX_PG_H
*/