linux-mips
[Top] [All Lists]

Re: Macro error in 2.4.0-test9 (unaligned.h)

To: Jeff Harrell <jharrell@ti.com>
Subject: Re: Macro error in 2.4.0-test9 (unaligned.h)
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Thu, 12 Oct 2000 04:13:40 +0200
Cc: linux-mips@oss.sgi.com
In-reply-to: <39E49824.92128925@ti.com>; from jharrell@ti.com on Wed, Oct 11, 2000 at 10:41:08AM -0600
References: <39E49824.92128925@ti.com>
Sender: owner-linux-mips@oss.sgi.com
On Wed, Oct 11, 2000 at 10:41:08AM -0600, Jeff Harrell wrote:

> ~~~~~~~~~~~~8< snippet from  /include/asm-mips/unaligned.h --------
> 
> #define put_unaligned(x,ptr)      \                   <<== shouldn't  x
> actually be val here?
>     do {         \
>          switch (sizeof(*(ptr))) {     \
>              case 1:        \
>               *(unsigned char *)ptr = (val);    \
>                break;       \
>              case 2:        \

Fixed six days ago ...

  Ralf

<Prev in Thread] Current Thread [Next in Thread>