diff options
author | Michal Simek <monstr@monstr.eu> | 2012-12-27 10:40:38 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-02-12 11:24:45 +0100 |
commit | 6bd55f0bbaebb79b39e147aa864401fd0c94db82 (patch) | |
tree | effef6e85fcbb6bd2687d881758a48c2377ef18e /arch/microblaze/mm/consistent.c | |
parent | 5b3084b5823339ac7bebca0701b9b89defe11c91 (diff) | |
download | kernel_goldelico_gta04-6bd55f0bbaebb79b39e147aa864401fd0c94db82.zip kernel_goldelico_gta04-6bd55f0bbaebb79b39e147aa864401fd0c94db82.tar.gz kernel_goldelico_gta04-6bd55f0bbaebb79b39e147aa864401fd0c94db82.tar.bz2 |
microblaze: Fix coding style issues
Fix coding style issues reported by checkpatch.pl.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/mm/consistent.c')
-rw-r--r-- | arch/microblaze/mm/consistent.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/microblaze/mm/consistent.c b/arch/microblaze/mm/consistent.c index a1e2e18..fe5fcdb 100644 --- a/arch/microblaze/mm/consistent.c +++ b/arch/microblaze/mm/consistent.c @@ -37,7 +37,7 @@ #include <asm/pgalloc.h> #include <linux/io.h> #include <linux/hardirq.h> -#include <asm/mmu_context.h> +#include <linux/mmu_context.h> #include <asm/mmu.h> #include <linux/uaccess.h> #include <asm/pgtable.h> @@ -102,8 +102,7 @@ void *consistent_alloc(gfp_t gfp, size_t size, dma_addr_t *dma_handle) # endif if ((unsigned int)ret > cpuinfo.dcache_base && (unsigned int)ret < cpuinfo.dcache_high) - printk(KERN_WARNING - "ERROR: Your cache coherent area is CACHED!!!\n"); + pr_warn("ERROR: Your cache coherent area is CACHED!!!\n"); /* dma_handle is same as physical (shadowed) address */ *dma_handle = (dma_addr_t)ret; |