Linux-Block Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] block: pg: add header include guard
@ 2019-07-20 12:05 Masahiro Yamada
  2019-10-03  2:29 ` Masahiro Yamada
  2019-10-03  2:32 ` Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2019-07-20 12:05 UTC (permalink / raw)
  To: Jens Axboe, linux-block; +Cc: Masahiro Yamada, linux-kernel

Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 include/uapi/linux/pg.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/uapi/linux/pg.h b/include/uapi/linux/pg.h
index 364c350e85cd..62b6f69bd9fb 100644
--- 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 */
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: pg: add header include guard
  2019-07-20 12:05 [PATCH] block: pg: add header include guard Masahiro Yamada
@ 2019-10-03  2:29 ` Masahiro Yamada
  2019-10-03  2:32 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2019-10-03  2:29 UTC (permalink / raw)
  To: Jens Axboe, linux-block; +Cc: Linux Kernel Mailing List

Hi

On Sat, Jul 20, 2019 at 9:06 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> Add a header include guard just in case.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Ping?


> ---
>
>  include/uapi/linux/pg.h | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/pg.h b/include/uapi/linux/pg.h
> index 364c350e85cd..62b6f69bd9fb 100644
> --- 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 */
> --
> 2.17.1
>


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: pg: add header include guard
  2019-07-20 12:05 [PATCH] block: pg: add header include guard Masahiro Yamada
  2019-10-03  2:29 ` Masahiro Yamada
@ 2019-10-03  2:32 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2019-10-03  2:32 UTC (permalink / raw)
  To: Masahiro Yamada, linux-block; +Cc: linux-kernel

On 7/20/19 6:05 AM, Masahiro Yamada wrote:
> Add a header include guard just in case.

Applied, thanks.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-20 12:05 [PATCH] block: pg: add header include guard Masahiro Yamada
2019-10-03  2:29 ` Masahiro Yamada
2019-10-03  2:32 ` Jens Axboe

Linux-Block Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-block/0 linux-block/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-block linux-block/ https://lore.kernel.org/linux-block \
		linux-block@vger.kernel.org linux-block@archiver.kernel.org
	public-inbox-index linux-block

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-block


AGPL code for this site: git clone https://public-inbox.org/ public-inbox