lkml.org 
[lkml]   [2002]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.15 warnings
On Fri, May 10, 2002 at 01:58:48PM +0200, Mikael Pettersson wrote:
> This patch silences the sound/oss/emu10k1 warnings.

You probably want to think about these in context of 32bit vs 64bit
machines.

> --- linux-2.5.15/sound/oss/emu10k1/efxmgr.h.~1~ Wed Feb 20 03:11:02 2002
> +++ linux-2.5.15/sound/oss/emu10k1/efxmgr.h Fri May 10 01:54:43 2002
> @@ -50,10 +50,10 @@
> u16 code_start;
> u16 code_size;
>
> - u32 gpr_used[NUM_GPRS / 32];
> - u32 gpr_input[NUM_GPRS / 32];
> - u32 route[NUM_OUTPUTS];
> - u32 route_v[NUM_OUTPUTS];
> + unsigned long gpr_used[NUM_GPRS / 32];
> + unsigned long gpr_input[NUM_GPRS / 32];
> + unsigned long route[NUM_OUTPUTS];
> + unsigned long route_v[NUM_OUTPUTS];
> };
>
> struct dsp_patch {
> @@ -64,8 +64,8 @@
> u16 code_start;
> u16 code_size;
>
> - u32 gpr_used[NUM_GPRS / 32]; /* bitmap of used gprs */
> - u32 gpr_input[NUM_GPRS / 32];
> + unsigned long gpr_used[NUM_GPRS / 32]; /* bitmap of used gprs */
> + unsigned long gpr_input[NUM_GPRS / 32];
> u8 traml_istart; /* starting address of the internal tram lines used */
> u8 traml_isize; /* number of internal tram lines used */
>

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.074 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site