Staging: drivers: dma: ste_dma40: fixed trailing statements
Subsystems (2)
PATCH 4/4 Staging: drivers: dma: ste_dma40: fixed trailing statements
Used checkpatch.pl on this patch.Trailing statements wrote on next line.
--- drivers/dma/ste_dma40.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/dma/ste_dma40.c +4 -2
@@ -2371,8 +2371,10 @@ static struct dma_chan *d40_xlate(struct of_phandle_args *dma_spec, flags = dma_spec->args[2 ];switch (D40_DT_FLAGS_MODE (flags)) { -case 0 : cfg.mode =STEDMA40_MODE_LOGICAL ;break ; -case 1 : cfg.mode =STEDMA40_MODE_PHYSICAL ;break ; +case 0 : + cfg.mode =STEDMA40_MODE_LOGICAL ;break ; +case 1 : + cfg.mode =STEDMA40_MODE_PHYSICAL ;break ; }switch (D40_DT_FLAGS_DIR (flags)) {
Signature · 1 line
1.9.1
Quoted 1 line · Hatice ERTÜRK
Used checkpatch.pl on this patch.Trailing statements wrote on next line.
Did you run checkpatch on the result? Because the breaks are still trailing.
Please put at least one space after a period, for easier readability.
julia
Quoted 33 lines
Signed-off-by Hatice ERTURK <[email protected]>--- drivers/dma/ste_dma40.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)drivers/dma/ste_dma40.c +4
-3@@ -2371,8 +2371,10 @@ static struct dma_chan *d40_xlate(struct of_phandle_args *dma_spec, flags = dma_spec->args[2 ];switch (D40_DT_FLAGS_MODE (flags)) { -case 0 : cfg.mode =STEDMA40_MODE_LOGICAL ;break ; -case 1 : cfg.mode =STEDMA40_MODE_PHYSICAL ;break ; +case 0 : + cfg.mode =STEDMA40_MODE_LOGICAL ;break ; +case 1 : + cfg.mode =STEDMA40_MODE_PHYSICAL ;break ; }switch (D40_DT_FLAGS_DIR (flags)) { --1.9.1
--
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/1424367316-26356-1-git-send-email-haticeerturk27%40gmail.com.
For more options, visit https://groups.google.com/d/optout.