Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752766Ab0DMKCD (ORCPT ); Tue, 13 Apr 2010 06:02:03 -0400 Received: from stinky.trash.net ([213.144.137.162]:46005 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752082Ab0DMKCA (ORCPT ); Tue, 13 Apr 2010 06:02:00 -0400 Message-ID: <4BC44117.80901@trash.net> Date: Tue, 13 Apr 2010 12:01:59 +0200 From: Patrick McHardy User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: Alexey Dobriyan CC: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, shemminger@vyatta.com, bhutchings@solarflare.com, andreas@fatal.se, hadi@cyberus.ca, hideaki@yoshifuji.org Subject: Re: [PATCH] xtables: make XT_ALIGN() usable in exported headers by exporting __ALIGN_KERNEL() References: <20100407162245.GA4557@x200> <4BC437C6.8020602@trash.net> In-Reply-To: <4BC437C6.8020602@trash.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 21 Patrick McHardy wrote: > Alexey Dobriyan wrote: >> XT_ALIGN() was rewritten through ALIGN() by commit 42107f5009da223daa800d6da6904d77297ae829 >> "netfilter: xtables: symmetric COMPAT_XT_ALIGN definition". >> ALIGN() is not exported in userspace headers, which created compile problem for tc(8) >> and will create problem for iptables(8). >> >> We can't export generic looking name ALIGN() but we can export less generic >> __ALIGN_KERNEL() (suggested by Ben Hutchings). >> Google knows nothing about __ALIGN_KERNEL(). >> >> COMPAT_XT_ALIGN() changed for symmetry. > > Since there haven't been any objections, I've applied your patch. This breaks compilation by removing __ALIGN_MASK(). Please fix this up. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/