Staging: pi433: Fix checkpatch.pl issue
PATCH v2 1/1 Staging: pi433: Fix checkpatch.pl issue
This patch fixes the checkpatch.pl warning:
WARNING: line over 80 characters
--- drivers/staging/pi433/rf69.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/pi433/rf69.c +2 -1
@@ -563,7 +563,8 @@ bool rf69_get_flag(struct spi_device *spi, enum flag flag) {switch (flag) {case mode_switch_completed: -return (rf69_read_reg (spi,REG_IRQFLAGS1 ) &MASK_IRQFLAGS1_MODE_READY ); +return (rf69_read_reg (spi,REG_IRQFLAGS1 ) & +MASK_IRQFLAGS1_MODE_READY );case ready_to_receive:return (rf69_read_reg (spi,REG_IRQFLAGS1 ) &MASK_IRQFLAGS1_RX_READY );case ready_to_send:
Signature · 1 line
2.7.4
The subject line is not good. It doesn't give any information.
Quoted 2 lines · Debleena Sen
This patch fixes the checkpatch.pl warning:
WARNING: line over 80 characters
The log message also doesn't give much information. What would you say if you were forbidded to use the word "fix"?
julia
Quoted 29 lines
Signed-off-by Debleena Sen <[email protected]>--- drivers/staging/pi433/rf69.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/staging/pi433/rf69.c +2
-2@@ -563,7 +563,8 @@ bool rf69_get_flag(struct spi_device *spi, enum flag flag) {switch (flag) {case mode_switch_completed: -return (rf69_read_reg (spi,REG_IRQFLAGS1 ) &MASK_IRQFLAGS1_MODE_READY ); +return (rf69_read_reg (spi,REG_IRQFLAGS1 ) & +MASK_IRQFLAGS1_MODE_READY );case ready_to_receive:return (rf69_read_reg (spi,REG_IRQFLAGS1 ) &MASK_IRQFLAGS1_RX_READY );case ready_to_send: --2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1551596995-2999-1-git-send-email-idebleenasen%40gmail.com.
For more options, visit https://groups.google.com/d/optout.