Skip to content

Commit

Permalink
[PATCH] sdladrv.c build fix
Browse files Browse the repository at this point in the history
gcc4 doesn't allow typecasted lvals.

Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Toni Mueller authored and Linus Torvalds committed Nov 15, 2005
1 parent d6a1a64 commit 09071e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wan/sdladrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,7 @@ static int detect_s514 (sdlahw_t* hw)
modname, hw->irq);

/* map the physical PCI memory to virtual memory */
(void *)hw->dpmbase = ioremap((unsigned long)S514_mem_base_addr,
hw->dpmbase = ioremap((unsigned long)S514_mem_base_addr,
(unsigned long)MAX_SIZEOF_S514_MEMORY);
/* map the physical control register memory to virtual memory */
hw->vector = (unsigned long)ioremap(
Expand Down

0 comments on commit 09071e3

Please sign in to comment.