* [PATCH] btrfs: Use the correct style for SPDX License Identifier
@ 2020-04-19 14:36 Nishad Kamdar
2020-04-20 15:42 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Nishad Kamdar @ 2020-04-19 14:36 UTC (permalink / raw)
To: Chris Mason, Josef Bacik, David Sterba, Greg Kroah-Hartman,
Uwe Kleine-König, Pengutronix Kernel Team, Joe Perches
Cc: linux-btrfs, linux-kernel
This patch corrects the SPDX License Identifier style in
header file related to Btrfs File System support.
For C header files Documentation/process/license-rules.rst
mandates C-like comments (opposed to C source files where
C++ style should be used).
Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46.
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
---
fs/btrfs/discard.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/discard.h b/fs/btrfs/discard.h
index 21a15776dac4..353228d62f5a 100644
--- a/fs/btrfs/discard.h
+++ b/fs/btrfs/discard.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef BTRFS_DISCARD_H
#define BTRFS_DISCARD_H
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs: Use the correct style for SPDX License Identifier
2020-04-19 14:36 [PATCH] btrfs: Use the correct style for SPDX License Identifier Nishad Kamdar
@ 2020-04-20 15:42 ` David Sterba
0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2020-04-20 15:42 UTC (permalink / raw)
To: Nishad Kamdar
Cc: Chris Mason, Josef Bacik, David Sterba, Greg Kroah-Hartman,
Uwe Kleine-König, Pengutronix Kernel Team, Joe Perches,
linux-btrfs, linux-kernel
On Sun, Apr 19, 2020 at 08:06:44PM +0530, Nishad Kamdar wrote:
> This patch corrects the SPDX License Identifier style in
> header file related to Btrfs File System support.
> For C header files Documentation/process/license-rules.rst
> mandates C-like comments (opposed to C source files where
> C++ style should be used).
>
> Changes made by using a script provided by Joe Perches here:
> https://lkml.org/lkml/2019/2/7/46.
>
> Suggested-by: Joe Perches <joe@perches.com>
> Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-20 15:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19 14:36 [PATCH] btrfs: Use the correct style for SPDX License Identifier Nishad Kamdar
2020-04-20 15:42 ` David Sterba
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).