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

From: Jeff Harrell <[email-masked]>
Date: Wed, 11 Oct 2000 10:41:08 -0600

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
[email-masked]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---

From: Ralf Baechle <[email-masked]>
Date: Thu, 12 Oct 2000 04:13:40 +0200

>               *(unsigned char *)ptr = (val);    \

Fixed six days ago ...

  Ralf