Skip to content

Commit

Permalink
microblaze: Fix sparse warning - prom.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
michalsimek committed Mar 9, 2011
1 parent 5323c48 commit fe34c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit fe34c47

Please sign in to comment.