Re: [PATCH v2 1/3] scsi: ufs: introduce vendor isr
From: Bart Van Assche
Date: Tue Sep 14 2021 - 12:29:31 EST
On 9/14/21 4:53 AM, Avri Altman wrote:
Since "static inline irqreturn_t ufshcd_vendor_isr_def(struct ufs_hba
*hba)" occupies less than 80 columns please use a single line for the
declaration of this function.
btw, It is 100 now.
Are you sure? In Documentation/process/coding-style.rst I found the following:
The preferred limit on the length of a single line is 80 columns.
From the commit message of bdc48fa11e46 ("checkpatch/coding-style: deprecate
80-column warning"):
Yes, staying withing 80 columns is certainly still _preferred_. But
it's not the hard limit that the checkpatch warnings imply, and other
concerns can most certainly dominate.
Increase the default limit to 100 characters. Not because 100
characters is some hard limit either, but that's certainly a "what are
you doing" kind of value and less likely to be about the occasional
slightly longer lines.
Bart.