All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: Changes blacklist to quirklist in ecode.c file
@ 2020-07-15  2:47 paul
  2020-07-17 14:18 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: paul @ 2020-07-15  2:47 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: soc, linux, arnd, paul

From: Paul Schulz <paul@mawsonlakes.org>

(second attempt)

This is a functionally trivial patch which removes the word
'blacklist' (and variations) from this code and replaces it
with 'quirklist'

It has no other effect.

Signed-off-by: Paul Schulz <paul@mawsonlakes.org>
---
 arch/arm/mach-rpc/ecard.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/arch/arm/mach-rpc/ecard.c b/arch/arm/mach-rpc/ecard.c
index 75cfad2cb143..8b1ac2114e8b 100644
--- a/arch/arm/mach-rpc/ecard.c
+++ b/arch/arm/mach-rpc/ecard.c
@@ -63,7 +63,7 @@ struct ecard_request {
 	struct completion *complete;
 };
 
-struct expcard_blacklist {
+struct expcard_quirklist {
 	unsigned short	 manufacturer;
 	unsigned short	 product;
 	const char	*type;
@@ -79,7 +79,7 @@ static void atomwide_3p_quirk(ecard_t *ec);
 /* List of descriptions of cards which don't have an extended
  * identification, or chunk directories containing a description.
  */
-static struct expcard_blacklist __initdata blacklist[] = {
+static struct expcard_quirklist quirklist[] __initdata = {
 	{ MANU_ACORN, PROD_ACORN_ETHER1, "Acorn Ether1" },
 	{ MANU_ATOMWIDE, PROD_ATOMWIDE_3PSERIAL, NULL, atomwide_3p_quirk },
 };
@@ -935,13 +935,13 @@ static int __init ecard_probe(int slot, unsigned irq, card_type_t type)
 		ec->fiqmask = 4;
 	}
 
-	for (i = 0; i < ARRAY_SIZE(blacklist); i++)
-		if (blacklist[i].manufacturer == ec->cid.manufacturer &&
-		    blacklist[i].product == ec->cid.product) {
-		    	if (blacklist[i].type)
-				ec->card_desc = blacklist[i].type;
-			if (blacklist[i].init)
-				blacklist[i].init(ec);
+	for (i = 0; i < ARRAY_SIZE(quirklist); i++)
+		if (quirklist[i].manufacturer == ec->cid.manufacturer &&
+		    quirklist[i].product == ec->cid.product) {
+			if (quirklist[i].type)
+				ec->card_desc = quirklist[i].type;
+			if (quirklist[i].init)
+				quirklist[i].init(ec);
 			break;
 		}
 
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] arm: Changes blacklist to quirklist in ecode.c file
  2020-07-15  2:47 [PATCH] arm: Changes blacklist to quirklist in ecode.c file paul
@ 2020-07-17 14:18 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2020-07-17 14:18 UTC (permalink / raw)
  To: Paul Schulz; +Cc: SoC Team, Russell King - ARM Linux, Linux ARM

I have applied this to the arm/soc branch of the soc tree now, but added
a few changes in the process. Please adapt your process in the future
so this is not necessary. Changes include:

- Subject line changed to "ARM: rpc: Change blacklist to quirklist in
ecode.c file"
   to adapt to the local style. Please check for each patch how the subsystem
   name is normally written.

On Wed, Jul 15, 2020 at 4:48 AM <paul@mawsonlakes.org> wrote:
>
> From: Paul Schulz <paul@mawsonlakes.org>

This line was likely added by 'git send-email' because you did not
configure your cleartext name correctly and the sender email
address only contains "paul@mawsonlakes.org" but not your
actual name. If the sender and the patch author are the same, the
line will get skipped.

> (second attempt)

The email text goes into the permanent git history, so it should not
contain this line. What you should do instead is:

- in the Subject line, use "[PATCH v2]" to indicate the version of the
  patch or patch series. "git format-patch" can add this autmatically
  using the --v parameter, and 'git am' drops it when I pick up the
  patch later.

- Below the '---' line of the email, you can give additional information
  that is relevant for the reviewer but not for the git history. This part
  also gets dropped by 'git am'.

       Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-07-17 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15  2:47 [PATCH] arm: Changes blacklist to quirklist in ecode.c file paul
2020-07-17 14:18 ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.