Skip to contentSkip to conversation

Fixing coding style. Signed-off-by: [email protected]

PATCH Greg KH 2 participants 2 messages Jan 2, 2020 – Jan 3, 2020 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Greg KH

author
#2 lore raw
Quoted 22 lines · Amrita Patole

From: Amrita Patole <[email protected]>

---
 drivers/staging/qlge/qlge_mpi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/qlge/qlge_mpi.c +2 -1
index 9e422bbbb6ab..f63db2c79fac 100644
@@ -136,7 +136,8 @@ static int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp)
 		    ql_read_mpi_reg(qdev, qdev->mailbox_out + i,
 				     &mbcp->mbox_out[i]);
 		if (status) {
-			netif_err(qdev, drv, qdev->ndev, "Failed mailbox read.\n");
+			netif_err(qdev, drv, qdev->ndev,
+                                  "Failed mailbox read. \n");
 			break;
 		}
 	}
Signature · 1 line
2.20.1

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree.

You are receiving this message because of the following common error(s) as indicated below:

- Your patch does not have a Signed-off-by: line. Please read the kernel file, Documentation/SubmittingPatches and resend it after adding that line. Note, the line needs to be in the body of the email, before the patch, not at the bottom of the patch or in the email signature.

- You did not specify a description of why the patch is needed, or possibly, any description at all, in the email body. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what is needed in order to properly describe the change.

- You did not write a descriptive Subject: for the patch, allowing Greg, and everyone else, to know what this patch is all about. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what a proper Subject: line should look like.

If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers.

thanks,

greg k-h's patch email bot

#3 lore raw
Quoted 7 lines · Greg KH
Quoted 6 lines · Amrita Patole

From: Amrita Patole <[email protected]>

---
 drivers/staging/qlge/qlge_mpi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 11 lines

drivers/staging/qlge/qlge_mpi.c static int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp) · line 140

Quoted 11 lines
drivers/staging/qlge/qlge_mpi.c +2 -1
index 9e422bbbb6ab..f63db2c79fac 100644
@@ -136,7 +136,8 @@ static int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp)
 		    ql_read_mpi_reg(qdev, qdev->mailbox_out + i,
 				     &mbcp->mbox_out[i]);
 		if (status) {
-			netif_err(qdev, drv, qdev->ndev, "Failed mailbox read.\n");
+			netif_err(qdev, drv, qdev->ndev,
+                                  "Failed mailbox read. \n");
			netif_err(qdev, drv, qdev->ndev,
                                  "Failed mailbox read. \n");
				  "Failed mailbox read. \n");

I'm pretty sure this will introduce a couplee new checkpatch warnings... It should be indented:
[tab][tab][tab][tab][space][space]"Failed mailbox read.\n");

No space after the period, please.

regards,
dan carpenter