Skip to contentSkip to conversation

staging: octeon: fix missing a blank line after declaration

PATCH In review Valery Ivanov 2 participants 2 messages Nov 8, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: octeon: fix missing a blank line after declaration

This patch fixes "WARNING: Missing a blank line after declarations" Issue found by checkpatch.pl

---
Changes in v2:
- fix huge indentation in commit message

---
 drivers/staging/octeon/octeon-stubs.h | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/octeon/octeon-stubs.h +1 -0
index d53bd801f440..ed9d44ff148b 100644
@@ -1375,6 +1375,7 @@ static inline union cvmx_gmxx_rxx_rx_inbnd cvmx_spi4000_check_speed(
 	int port)
 {
 	union cvmx_gmxx_rxx_rx_inbnd r;
+
 	r.u64 = 0;
 	return r;
 }
Signature · 1 line
2.17.1
#1 lore raw

I would like to reiterate my opinion that this checkpatch warning is bullshit. For large functions, sure. For this kind of function, it's a waste of space.

Quoted 26 lines · Valery Ivanov

This patch fixes "WARNING: Missing a blank line after declarations" Issue found by checkpatch.pl

---
Changes in v2:
- fix huge indentation in commit message

---
 drivers/staging/octeon/octeon-stubs.h | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/octeon/octeon-stubs.h +1 -0
index d53bd801f440..ed9d44ff148b 100644
@@ -1375,6 +1375,7 @@ static inline union cvmx_gmxx_rxx_rx_inbnd cvmx_spi4000_check_speed(
 	int port)
 {
 	union cvmx_gmxx_rxx_rx_inbnd r;
+
 	r.u64 = 0;
 	return r;
 }
Signature · 1 line
2.17.1