Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Macro error in 2.4.0-test9 (unaligned.h)
@ 2000-10-11 16:41 Jeff Harrell
  2000-10-12  2:13 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Harrell @ 2000-10-11 16:41 UTC (permalink / raw)
  To: linux-mips


[-- Attachment #1.1: Type: text/plain, Size: 684 bytes --]

This caused a problem when loading the ppp module...


~~~~~~~~~~~~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:        \

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Harrell                    Work:  (801) 619-6104
Broadband Access group/TI
jharrell@ti.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



[-- Attachment #1.2: Type: text/html, Size: 1589 bytes --]

[-- Attachment #2: Card for Jeff Harrell --]
[-- Type: text/x-vcard, Size: 376 bytes --]

begin:vcard 
n:Harrell;Jeff
tel;cell:(801) 597-6268
tel;fax:(801) 619-6150
tel;work:(801) 619-6104
x-mozilla-html:TRUE
url:http://www.ti.com
org:Broadband Access Group
version:2.1
email;internet:jharrell@ti.com
title:Texas Instruments
adr;quoted-printable:;;170 West Election Rd. Suite 100	=0D=0AMS 4106		;Draper;Utah;84020-6410;USA
x-mozilla-cpt:;0
fn:Jeff Harrell
end:vcard

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Macro error in 2.4.0-test9 (unaligned.h)
  2000-10-11 16:41 Macro error in 2.4.0-test9 (unaligned.h) Jeff Harrell
@ 2000-10-12  2:13 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2000-10-12  2:13 UTC (permalink / raw)
  To: Jeff Harrell; +Cc: linux-mips

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-12  2:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-11 16:41 Macro error in 2.4.0-test9 (unaligned.h) Jeff Harrell
2000-10-12  2:13 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox