linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/2] uuid: Discourage people from using UAPI header in new code
@ 2021-12-13 20:35 Andy Shevchenko
  2021-12-13 20:35 ` [PATCH v1 2/2] uuid: Remove licence boilerplate text from the header Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andy Shevchenko @ 2021-12-13 20:35 UTC (permalink / raw)
  To: Andy Shevchenko, linux-kernel; +Cc: Christoph Hellwig

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

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 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.33.0


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

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

Remove licence boilerplate text from the UAPI header.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 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.33.0


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

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

On Mon, Dec 13, 2021 at 10:35:06PM +0200, Andy Shevchenko wrote:
> Discourage people from using UAPI header in new code by adding a note.

Christoph, can we get this applied please, otherwise we will never get rid
of the old ugly types.

-- 
With Best Regards,
Andy Shevchenko



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

* Re: [PATCH v1 1/2] uuid: Discourage people from using UAPI header in new code
  2021-12-13 20:35 [PATCH v1 1/2] uuid: Discourage people from using UAPI header in new code Andy Shevchenko
  2021-12-13 20:35 ` [PATCH v1 2/2] uuid: Remove licence boilerplate text from the header Andy Shevchenko
  2021-12-14 20:42 ` [PATCH v1 1/2] uuid: Discourage people from using UAPI header in new code Andy Shevchenko
@ 2021-12-16  8:32 ` Christoph Hellwig
  2021-12-16 11:31   ` Andy Shevchenko
  2 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2021-12-16  8:32 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: linux-kernel, Christoph Hellwig

Both patches looks good to me:

Acked-by: Christoph Hellwig <hch@lst.de>

Given that the uuid tree isn't in linux-next anymore due to inactivity,
can you send them to Andrew for inclusion in -mm with my ACK?

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

* Re: [PATCH v1 1/2] uuid: Discourage people from using UAPI header in new code
  2021-12-16  8:32 ` Christoph Hellwig
@ 2021-12-16 11:31   ` Andy Shevchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Andy Shevchenko @ 2021-12-16 11:31 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-kernel

On Thu, Dec 16, 2021 at 09:32:13AM +0100, Christoph Hellwig wrote:
> Both patches looks good to me:
> 
> Acked-by: Christoph Hellwig <hch@lst.de>
> 
> Given that the uuid tree isn't in linux-next anymore due to inactivity,
> can you send them to Andrew for inclusion in -mm with my ACK?

Sure, thanks!

-- 
With Best Regards,
Andy Shevchenko



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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13 20:35 [PATCH v1 1/2] uuid: Discourage people from using UAPI header in new code Andy Shevchenko
2021-12-13 20:35 ` [PATCH v1 2/2] uuid: Remove licence boilerplate text from the header Andy Shevchenko
2021-12-14 20:42 ` [PATCH v1 1/2] uuid: Discourage people from using UAPI header in new code Andy Shevchenko
2021-12-16  8:32 ` Christoph Hellwig
2021-12-16 11:31   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).