diff mbox series

Subject: [PATCH] arm: Changes 'blacklist' to 'blocklist' in ecode.c file

Message ID CAGt04nYUUgbUNHMNE4GyS3fWkeeGTfXLZQ9MyrLct+QanS0sgw@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series Subject: [PATCH] arm: Changes 'blacklist' to 'blocklist' in ecode.c file | expand

Commit Message

Paul Schulz July 14, 2020, 8:31 a.m. UTC
From: Paul Schulz <paul@mawsonlakes.org>

Changes 'blacklist' to 'blocklist' in ecode.c file

This is a functionally trivial patch which removes the word 'blacklist'
from this arm code. 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(-)

Comments

Arnd Bergmann July 14, 2020, 9:06 a.m. UTC | #1
On Tue, Jul 14, 2020 at 10:31 AM Paul Schulz <paul@mawsonlakes.org> wrote:
>
> From: Paul Schulz <paul@mawsonlakes.org>
>
> Changes 'blacklist' to 'blocklist' in ecode.c file
>
> This is a functionally trivial patch which removes the word 'blacklist'
> from this arm code. It has no other effect.
>
> Signed-off-by: Paul Schulz <paul@mawsonlakes.org>

Unfortunately this patch is whitespace damaged and can't be applied
in that form. See Documentation/process/email-clients.rst
for how to configure your patch submission correctly. Using
'git send-email' tends to work best.

      Arnd
diff mbox series

Patch

diff --git a/arch/arm/mach-rpc/ecard.c b/arch/arm/mach-rpc/ecard.c
index 75cfad2cb143..f63a97b44f89 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_blocklist {
  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_blocklist __initdata blocklist[] = {
  { 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(blocklist); i++)
+ if (blocklist[i].manufacturer == ec->cid.manufacturer &&
+     blocklist[i].product == ec->cid.product) {
+     if (blocklist[i].type)
+ ec->card_desc = blocklist[i].type;
+ if (blocklist[i].init)
+ blocklist[i].init(ec);
  break;
  }