From: Sayyad Abid <sayyad.abid16@gmail.com>
To: linux-m68k@lists.linux-m68k.org
Cc: fthain@linux-m68k.org, linux-kernel@vger.kernel.org,
skhan@linuxfoundation.org, sayyad.abid16@gmail.com
Subject: [PATCH 1/3] drivers: nubus: Fix use of tabs in nubus_get_vendorinfo and nubus_add_board in nubus.c
Date: Wed, 2 Oct 2024 18:58:18 +0530 [thread overview]
Message-ID: <20241002132820.402583-2-sayyad.abid16@gmail.com> (raw)
In-Reply-To: <20241002132820.402583-1-sayyad.abid16@gmail.com>
This change maintinas code consistency and compliance with
rest of the kernel codebase by implementing use of tabs for
indent where possible
Signed-off-by: Sayyad Abid <sayyad.abid16@gmail.com>
---
drivers/nubus/nubus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c
index ab0f32b901c8..08cf585cb471 100644
--- a/drivers/nubus/nubus.c
+++ b/drivers/nubus/nubus.c
@@ -615,7 +615,7 @@ static int __init nubus_get_vendorinfo(struct nubus_board *board,
struct nubus_dir dir;
struct nubus_dirent ent;
static char *vendor_fields[6] = { "ID", "serial", "revision",
- "part", "date", "unknown field" };
+ "part", "date", "unknown field" };
pr_debug(" vendor info:\n");
nubus_get_subdir(parent, &dir);
@@ -783,7 +783,7 @@ static void __init nubus_add_board(int slot, int bytelanes)
/* Set up the directory pointer */
board->directory = board->fblock;
nubus_move(&board->directory, nubus_expand32(board->doffset),
- board->lanes);
+ board->lanes);
nubus_get_root_dir(board, &dir);
--
2.39.5
next prev parent reply other threads:[~2024-10-02 13:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-02 13:28 [PATCH 0/3] drivers: nubus: Fix coding style issues " Sayyad Abid
2024-10-02 13:28 ` Sayyad Abid [this message]
2024-10-02 13:28 ` [PATCH 2/3] drivers: nubus: Fix use of assignment in if condition in nubus_add_board() " Sayyad Abid
2024-10-02 22:18 ` Shuah Khan
2024-10-03 10:53 ` kernel test robot
2024-10-02 13:28 ` [PATCH 3/3] drivers: nubus: Fix use of * in comment block " Sayyad Abid
2024-10-02 22:20 ` [PATCH 0/3] drivers: nubus: Fix coding style issues " Shuah Khan
2024-10-02 22:55 ` Finn Thain
2024-10-03 3:31 ` Sayyad Abid
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=20241002132820.402583-2-sayyad.abid16@gmail.com \
--to=sayyad.abid16@gmail.com \
--cc=fthain@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=skhan@linuxfoundation.org \
/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
all inboxes | Powered by JetHome®