Skip to contentSkip to conversation

checkpatch warnings cleanup

PATCH RESEND New Jules Irenge 1 participant 2 messages Oct 10, 2019 Staging

v1 of 2 New Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover checkpatch warnings cleanup

Clean up multiple warnings reported by checkpatch tool. These are a resend in the order they were patched.

Jules Irenge (5):
staging: qlge: correct a misspelled word
staging: qlge: fix "alignment should match open parenthesis" checks
staging: qlge: Fix multiple assignments warning by replacing integer
variables to bool
staging: qlge: add space to fix check warning
staging: qlge: fix comparison to NULL warning

 drivers/staging/qlge/qlge_dbg.c | 209 ++++++++++++++++----------------
 1 file changed, 104 insertions(+), 105 deletions(-)
Signature · 1 line
2.21.0
#1 lore raw

PATCH RESEND 1/5 staging: qlge: correct a misspelled word

Fix a misspelling of "several" detected by checkpatch

---
 drivers/staging/qlge/qlge_dbg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/qlge/qlge_dbg.c +1 -1
index 5599525a19d5..28fc974ce982 100644
@@ -354,7 +354,7 @@ static int ql_get_xgmac_regs(struct ql_adapter *qdev, u32 *buf,
 
 	for (i = PAUSE_SRC_LO; i < XGMAC_REGISTER_END; i += 4, buf++) {
 		/* We're reading 400 xgmac registers, but we filter out
-		 * serveral locations that are non-responsive to reads.
+		 * several locations that are non-responsive to reads.
 		 */
 		if ((i == 0x00000114) ||
 			(i == 0x00000118) ||
Signature · 1 line
2.21.0