aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-02-07 11:32:09 +0100
committerMichal Simek <monstr@monstr.eu>2011-03-09 08:09:57 +0100
commitfe34c478d14480c9e389f71e6bcf62827f86c089 (patch)
treedb919e5abc5761a8ce2ffcf10f99b45e70b94d52 /arch/microblaze/kernel
parent5323c48b0cfd98d93eb29907450ca48d009545ad (diff)
downloadkernel_samsung_smdk4412-fe34c478d14480c9e389f71e6bcf62827f86c089.zip
kernel_samsung_smdk4412-fe34c478d14480c9e389f71e6bcf62827f86c089.tar.gz
kernel_samsung_smdk4412-fe34c478d14480c9e389f71e6bcf62827f86c089.tar.bz2
microblaze: Fix sparse warning - prom.c
Warning log: CHECK arch/microblaze/kernel/dma.c arch/microblaze/kernel/dma.c:53:26: warning: incorrect type in argument 1 (different base types) arch/microblaze/kernel/dma.c:53:26: expected int [signed] gfp arch/microblaze/kernel/dma.c:53:26: got restricted unsigned int [usertype] flag Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel')
-rw-r--r--arch/microblaze/kernel/prom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c
index bceaa55..00ee90f 100644
--- a/arch/microblaze/kernel/prom.c
+++ b/arch/microblaze/kernel/prom.c
@@ -59,7 +59,7 @@ static int __init early_init_dt_scan_serial(unsigned long node,
{
unsigned long l;
char *p;
- int *addr;
+ const __be32 *addr;
pr_debug("search \"serial\", depth: %d, uname: %s\n", depth, uname);