[PATCH 01/10] scsi: 3w-xxxx: Trivial: Remove trailing whitespace

Lee Jones posted 10 patches 1 year, 10 months ago
[PATCH 01/10] scsi: 3w-xxxx: Trivial: Remove trailing whitespace
Posted by Lee Jones 1 year, 10 months ago
Since 5a602de99797b ("Add .editorconfig file for basic formatting") my
editor has been forced to remove trailing whitespace from any file it
saves.  Instead of fighting this recent kernel default, let's start
chipping away at fixing the issues.

Signed-off-by: Lee Jones <lee@kernel.org>
---
Cc: Adam Radford <aradford@gmail.com>
Cc: Joel Jacobson <linux@3ware.com>
Cc: de Melo <acme@conectiva.com.br>
Cc: Andre Hedrick <andre@suse.com>
---
 drivers/scsi/3w-xxxx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c
index 2c0fb6da0e608..13ddc97f5a623 100644
--- a/drivers/scsi/3w-xxxx.c
+++ b/drivers/scsi/3w-xxxx.c
@@ -1099,7 +1099,7 @@ static int tw_initconnection(TW_Device_Extension *tw_dev, int message_credits)
 	command_packet->request_id = request_id;
 	command_packet->status = 0x0;
 	command_packet->flags = 0x0;
-	command_packet->byte6.message_credits = message_credits; 
+	command_packet->byte6.message_credits = message_credits;
 	command_packet->byte8.init_connection.response_queue_pointer = 0x0;
 	command_que_value = tw_dev->command_packet_physical_address[request_id];
 
-- 
2.43.0.594.gd9cf4e227d-goog
Re: [PATCH 01/10] scsi: 3w-xxxx: Trivial: Remove trailing whitespace
Posted by Kees Cook 1 year, 10 months ago
On Thu, Feb 08, 2024 at 08:44:13AM +0000, Lee Jones wrote:
> Since 5a602de99797b ("Add .editorconfig file for basic formatting") my
> editor has been forced to remove trailing whitespace from any file it
> saves.  Instead of fighting this recent kernel default, let's start
> chipping away at fixing the issues.

On, this is a fun addition to the codebase! I wonder how much churn it
will actually create...

> Signed-off-by: Lee Jones <lee@kernel.org>

Regardless, yeah, let's clean them up when we hit them.

Reviewed-by: Kees Cook <keescook@chromium.org>

-- 
Kees Cook