Re: [PATCH] 2.6.9-rc3 fix warnings in sound/drivers/opl3/opl3_lib.c

viro
2004-09-30T15:25:48Z

On Thu, Sep 30, 2004 at 02:28:53PM +0200, Borislav Petkov wrote:
> Hi there,
> I get these warnings while compiling 2.6.9-rc3:
> sound/drivers/opl3/opl3_lib.c: In function `snd_opl3_cs4281_command':
> sound/drivers/opl3/opl3_lib.c:101: warning: passing arg 2 of `writel' makes pointer from integer without a cast
> sound/drivers/opl3/opl3_lib.c:104: warning: passing arg 2 of `writel' makes pointer from integer without a cast
>
> Hope this fix is correct.

It looks very odd. At the very least we don't want to overload the
fields in question (->r_port and ->l_port) that way.