Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, 22 Dec 2015, Joe Perches wrote:

On Tue, 2015-12-22 at 12:18 +1100, Finn Thain wrote:
This patch is just the result of two substitutions. The first removes 
any tabs and spaces at the end of the line. The second replaces runs 
of tabs and spaces at the beginning of comment lines with a single 
space.

I think the second of these isn't done well.

The aim of this patch is not to fix code style, but to make it possible to 
compare these two files so that the fork can be repaired. Regexp is very 
helpful in creating uniformity (and a minimal diff).

If this was a coding style issue, we would be discussing the use of 
kernel-doc format for the affected comments, not whitespace.

Many of these comments post reformatting are
much worse to read because of lost alignment.

You exaggerate a very trivial point.

I admit that a small proportion of comments are slightly less readable. 
But it is the diff that needs to be readable in order to resolve the fork.

As I said in patch 0, I am aware that this patch series can be faulted on 
trivial grounds but in order to avoid churn I don't wish to address those 
issues until the fork has been resolved.

Thanks for your review.


For instance:

+/*
  * Function : int NCR5380_select(struct Scsi_Host *instance,
- *                               struct scsi_cmnd *cmd)
+ * struct scsi_cmnd *cmd)
  *
  * Purpose : establishes I_T_L or I_T_L_Q nexus for new or existing command,
- *      including ARBITRATION, SELECTION, and initial message out for 
- *      IDENTIFY and queue messages. 
+ * including ARBITRATION, SELECTION, and initial message out for
+ * IDENTIFY and queue messages.


-- 

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux