Message ID | 1644889961-61470-1-git-send-email-jnwang@linux.alibaba.com |
---|---|
State | Superseded |
Headers | show |
Series | [v2,hpsa] Fix the wrong chars in comment section | expand |
On 2/14/22 17:52, James Wang wrote: > These '+' should be redundant. > > Signed-off-by: James Wang <jnwang@linux.alibaba.com> > Reviewed-by: Bart Van Assche <bvanassche@acm.org> Please do NOT add a Reviewed-by tag if a reviewer has not posted that tag himself. I have the following additional comments on this patch: - I am not convinced that this patch is useful since it does not help users of the hpsa driver. - The comment still does not conform to the Linux kernel coding style. From coding-style.rst: The preferred style for long (multi-line) comments is: .. code-block:: c /* * This is the preferred style for multi-line * comments in the Linux kernel source code. * Please use it consistently. * * Description: A column of asterisks on the left side, * with beginning and ending almost-blank lines. */ Bart.
在 2022/2/16 上午1:37, Bart Van Assche 写道: > On 2/14/22 17:52, James Wang wrote: >> These '+' should be redundant. >> >> Signed-off-by: James Wang <jnwang@linux.alibaba.com> >> Reviewed-by: Bart Van Assche <bvanassche@acm.org> > > Please do NOT add a Reviewed-by tag if a reviewer has not posted that > tag himself. > > I have the following additional comments on this patch: > - I am not convinced that this patch is useful since it does not help > users of the hpsa driver. Maybe the patch helps the coding style. ;-) James.W isn't a expert in storage system, James.B should be; but I have to post the issue what I see as a kernel hacker(junior). > - The comment still does not conform to the Linux kernel coding style. > From coding-style.rst: > OK; I have run the script to check the code style this patch; I like to imporve this patch again, without reviewed-by; James > The preferred style for long (multi-line) comments is: > > .. code-block:: c > > /* > * This is the preferred style for multi-line > * comments in the Linux kernel source code. > * Please use it consistently. > * > * Description: A column of asterisks on the left side, > * with beginning and ending almost-blank lines. > */ > > Bart.
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index a47bcce..34cd6c8 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -7641,8 +7641,8 @@ static void hpsa_free_cfgtables(struct ctlr_info *h) } /* Find and map CISS config table and transfer table -+ * several items must be unmapped (freed) later -+ * */ + * several items must be unmapped (freed) later + */ static int hpsa_find_cfgtables(struct ctlr_info *h) { u64 cfg_offset;