[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101215.101925.71116399.davem@davemloft.net>
Date: Wed, 15 Dec 2010 10:19:25 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: penguin-kernel@...ove.SAKURA.ne.jp
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [2.6.37-rc5] Build error on parisc.
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
Date: Wed, 15 Dec 2010 17:01:14 +0900
> [2.6.37-rc5] Build error on parisc.
>
> Commit 5635c10d "net: make sure struct dst_entry refcount is aligned on 64 bytes"
> uses manual padding. I triggered BUILD_BUG_ON() when using
> http://kernel.org/pub/tools/crosstool/files/bin/i686/4.5.1/i686-gcc-4.5.1-nolibc_hppa64-linux.tar.bz2 .
>
> make -s CROSS_COMPILE=hppa64-linux- ARCH=parisc
>
> include/net/dst.h: In function 'dst_hold':
> include/net/dst.h:161:2: error: negative width in bit-field '<anonymous>'
>
> I think below patch can fix the error but that commit says that we cannot use
> __atribute((aligned)). Why?
We don't want to create holes of unused space in the structure, we want
to know exactly how every byte of space is being used so nothing is
wasted when all features are enabed.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists