public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: Keith Owens <kaos@ocs.com.au>,
	linux-kernel@vger.kernel.org, davej@suse.de
Subject: Re: 2.5.15 warnings
Date: Fri, 10 May 2002 14:20:38 +0100	[thread overview]
Message-ID: <20020510142038.A7165@flint.arm.linux.org.uk> (raw)
In-Reply-To: <26013.1021001169@kao2.melbourne.sgi.com> <26949.1021006885@kao2.melbourne.sgi.com> <15579.46584.447522.360378@kim.it.uu.se>

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


  reply	other threads:[~2002-05-10 13:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-10  3:26 2.5.15 broken code Keith Owens
2002-05-10  5:01 ` 2.5.15 warnings Keith Owens
2002-05-10  7:17   ` [PATCH] fix one of " Stephen Rothwell
2002-05-10 11:49   ` Mikael Pettersson
2002-05-10 11:54   ` Mikael Pettersson
2002-05-10 11:58   ` Mikael Pettersson
2002-05-10 13:20     ` Russell King [this message]
2002-05-10 14:07       ` Mikael Pettersson
2002-05-10 15:37         ` John Weber
2002-05-10 15:51           ` Russell King
2002-05-10 16:01             ` John Weber
2002-05-11  0:56             ` jw schultz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020510142038.A7165@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=davej@suse.de \
    --cc=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@csd.uu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox