From: Boris Brezillon <boris.brezillon@bootlin.com>
To: David Woodhouse <dwmw2@infradead.org>,
Brian Norris <computersforpeace@gmail.com>,
Boris Brezillon <boris.brezillon@free-electrons.com>,
Marek Vasut <marek.vasut@gmail.com>,
Richard Weinberger <richard@nod.at>,
Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>,
linux-mtd@lists.infradead.org
Cc: Peter Pan <peterpansjtu@gmail.com>,
Frieder Schrempf <frieder.schrempf@exceet.de>
Subject: [PATCH v7 2/7] mtd: nand: Stop using full path when referring to files placed in the same dir
Date: Mon, 5 Feb 2018 23:02:00 +0100 [thread overview]
Message-ID: <20180205220205.3528-3-boris.brezillon@bootlin.com> (raw)
In-Reply-To: <20180205220205.3528-1-boris.brezillon@bootlin.com>
From: Boris Brezillon <boris.brezillon@free-electrons.com>
Some NAND drivers are derived from other NAND drivers and state it in
their license header. Using full path to point to other driver files
sitting in the same directory is not such a good idea, since the NAND
drivers might be moved to a different directory at some point, and we
don't to patch all license/copyright headers everytime this happen.
The only exception where we keep full path is when the referred source
files no longer exist in the tree.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
drivers/mtd/nand/ams-delta.c | 2 +-
drivers/mtd/nand/bf5xx_nand.c | 4 ++--
drivers/mtd/nand/mpc5121_nfc.c | 5 ++---
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c
index e15991d81a20..f3eaea9df90b 100644
--- a/drivers/mtd/nand/ams-delta.c
+++ b/drivers/mtd/nand/ams-delta.c
@@ -3,7 +3,7 @@
*
* Derived from drivers/mtd/toto.c
* Converted to platform driver by Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
- * Partially stolen from drivers/mtd/nand/plat_nand.c
+ * Partially stolen from plat_nand.c
*
* 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
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 4a5f56f76efd..9a1d8d104570 100644
--- a/drivers/mtd/nand/bf5xx_nand.c
+++ b/drivers/mtd/nand/bf5xx_nand.c
@@ -5,10 +5,10 @@
*
* Blackfin BF5xx on-chip NAND flash controller driver
*
- * Derived from drivers/mtd/nand/s3c2410.c
+ * Derived from s3c2410.c
* Copyright (c) 2007 Ben Dooks <ben@simtec.co.uk>
*
- * Derived from drivers/mtd/nand/cafe.c
+ * Derived from cafe.c
* Copyright © 2006 Red Hat, Inc.
* Copyright © 2006 David Woodhouse <dwmw2@infradead.org>
*
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c
index b6b97cc9fba6..913b9d1225c6 100644
--- a/drivers/mtd/nand/mpc5121_nfc.c
+++ b/drivers/mtd/nand/mpc5121_nfc.c
@@ -6,9 +6,8 @@
* by OSADL membership fees in 2009; for details see www.osadl.org.
*
* Based on original driver from Freescale Semiconductor
- * written by John Rigby <jrigby@freescale.com> on basis
- * of drivers/mtd/nand/mxc_nand.c. Reworked and extended
- * Piotr Ziecik <kosmo@semihalf.com>.
+ * written by John Rigby <jrigby@freescale.com> on basis of mxc_nand.c.
+ * Reworked and extended by Piotr Ziecik <kosmo@semihalf.com>.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
--
2.14.1
next prev parent reply other threads:[~2018-02-05 22:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-05 22:01 [PATCH v7 0/7] mtd: nand: Prepare things for SPI NAND support Boris Brezillon
2018-02-05 22:01 ` [PATCH v7 1/7] mtd: nand: Get rid of comments giving the file path inside the file itself Boris Brezillon
2018-02-05 22:02 ` Boris Brezillon [this message]
2018-02-05 22:02 ` [PATCH v7 3/7] mtd: nand: ams-delta: Fix path to toto.c source file Boris Brezillon
2018-02-05 22:02 ` [PATCH v7 4/7] mtd: nand: State when references to other drivers are no longer valid Boris Brezillon
2018-02-05 22:02 ` [PATCH v7 5/7] mtd: nand: Add missing copyright information Boris Brezillon
2018-02-05 22:02 ` [PATCH v7 6/7] mtd: nand: move raw NAND related code to the raw/ subdir Boris Brezillon
2018-02-05 22:02 ` [PATCH v7 7/7] mtd: nand: Add core infrastructure to deal with NAND devices Boris Brezillon
2018-02-16 11:01 ` [PATCH v7 0/7] mtd: nand: Prepare things for SPI NAND support Boris Brezillon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180205220205.3528-3-boris.brezillon@bootlin.com \
--to=boris.brezillon@bootlin.com \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=cyrille.pitchen@wedev4u.fr \
--cc=dwmw2@infradead.org \
--cc=frieder.schrempf@exceet.de \
--cc=linux-mtd@lists.infradead.org \
--cc=marek.vasut@gmail.com \
--cc=peterpansjtu@gmail.com \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox