Skip to content

Commit

Permalink
dma-rename-dma__writecombine-to-dma__wc-checkpatch-fixes
Browse files Browse the repository at this point in the history
WARNING: line over 80 characters
torvalds#353: FILE: drivers/gpu/drm/omapdrm/omap_dmm_tiler.c:704:
+					   REFILL_BUFFER_SIZE * omap_dmm->num_engines,

ERROR: code indent should use tabs where possible
torvalds#557: FILE: drivers/gpu/host1x/job.c:581:
+^I^I            job->gather_copy_mapped, job->gather_copy);$

ERROR: code indent should use tabs where possible
torvalds#925: FILE: drivers/video/fbdev/s3c-fb.c:1134:
+^I^I            fbi->screen_base, fbi->fix.smem_start);$

total: 2 errors, 1 warnings, 867 lines checked

NOTE: Whitespace errors detected.
      You may wish to use scripts/cleanpatch or scripts/cleanfile

./patches/dma-rename-dma__writecombine-to-dma__wc.patch has style problems, please review.

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: "Luis R. Rodriguez" <mcgrof@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and sfrothwell committed Feb 28, 2016
1 parent c45472f commit e70f15c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/host1x/job.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ void host1x_job_unpin(struct host1x_job *job)

if (job->gather_copy_size)
dma_free_wc(job->channel->dev, job->gather_copy_size,
job->gather_copy_mapped, job->gather_copy);
job->gather_copy_mapped, job->gather_copy);
}
EXPORT_SYMBOL(host1x_job_unpin);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/fbdev/s3c-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ static void s3c_fb_free_memory(struct s3c_fb *sfb, struct s3c_fb_win *win)

if (fbi->screen_base)
dma_free_wc(sfb->dev, PAGE_ALIGN(fbi->fix.smem_len),
fbi->screen_base, fbi->fix.smem_start);
fbi->screen_base, fbi->fix.smem_start);
}

/**
Expand Down

0 comments on commit e70f15c

Please sign in to comment.