public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] uuid: Discourage people from using UAPI header in new code
@ 2021-12-16 11:35 Andy Shevchenko
  2021-12-16 11:35 ` [PATCH v2 2/2] uuid: Remove licence boilerplate text from the header Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2021-12-16 11:35 UTC (permalink / raw)
  To: Andy Shevchenko, linux-kernel; +Cc: Christoph Hellwig, Andrew Morton

Discourage people from using UAPI header in new code by adding a note.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Christoph Hellwig <hch@lst.de>
---
v2: added tag (Christoph)

Andrew, Cristoph asked you to take since UUID tree is kinda inactive now
and these are only two really small documentation changes.

 include/uapi/linux/uuid.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/uuid.h b/include/uapi/linux/uuid.h
index e5a7eecef7c3..32615dc5f0cf 100644
--- a/include/uapi/linux/uuid.h
+++ b/include/uapi/linux/uuid.h
@@ -1,4 +1,5 @@
 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+/* DO NOT USE in new code! This is solely for MEI due to legacy reasons */
 /*
  * UUID/GUID definition
  *
-- 
2.34.1


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

* [PATCH v2 2/2] uuid: Remove licence boilerplate text from the header
  2021-12-16 11:35 [PATCH v2 1/2] uuid: Discourage people from using UAPI header in new code Andy Shevchenko
@ 2021-12-16 11:35 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2021-12-16 11:35 UTC (permalink / raw)
  To: Andy Shevchenko, linux-kernel; +Cc: Christoph Hellwig, Andrew Morton

Remove licence boilerplate text from the UAPI header.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Christoph Hellwig <hch@lst.de>
---
v2: added tag (Christoph)
 include/uapi/linux/uuid.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/include/uapi/linux/uuid.h b/include/uapi/linux/uuid.h
index 32615dc5f0cf..c0f4bd9b040e 100644
--- a/include/uapi/linux/uuid.h
+++ b/include/uapi/linux/uuid.h
@@ -5,15 +5,6 @@
  *
  * Copyright (C) 2010, Intel Corp.
  *	Huang Ying <ying.huang@intel.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version
- * 2 as published by the Free Software Foundation;
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef _UAPI_LINUX_UUID_H_
-- 
2.34.1


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

end of thread, other threads:[~2021-12-16 11:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-16 11:35 [PATCH v2 1/2] uuid: Discourage people from using UAPI header in new code Andy Shevchenko
2021-12-16 11:35 ` [PATCH v2 2/2] uuid: Remove licence boilerplate text from the header Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox